LumiSoft Net Help
EnsureServerTransaction Method (flow, request)
Namespaces ► LumiSoft.Net.SIP.Stack ► SIP_TransactionLayer ► EnsureServerTransaction(SIP_Flow, SIP_Request)
Ensures that specified request has matching server transaction. If server transaction doesn't exist, it will be created, otherwise existing transaction will be returned.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    public SIP_ServerTransaction EnsureServerTransaction(
    	SIP_Flow flow,
    	SIP_Request request
    )

    Public Function EnsureServerTransaction (
    	flow As SIP_Flow,
    	request As SIP_Request
    ) As SIP_ServerTransaction

    public:
    SIP_ServerTransaction^ EnsureServerTransaction(
    	SIP_Flow^ flow,
    	SIP_Request^ request
    )

    member EnsureServerTransaction :
            flow : SIP_Flow *
            request : SIP_Request -> SIP_ServerTransaction

Parameters

flow (SIP_Flow)
  SIP data flow which is used to receive request.

request (SIP_Request)
  SIP request.

Return Value
SIP_ServerTransaction
Returns matching transaction.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Is raised when flow or request is null.
InvalidOperationException | Is raised when request.Method is ACK request.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119