Creates response for the specified request.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public SIP_Response CreateResponse( string statusCode_reasonText, SIP_Request request )
Public Function CreateResponse ( statusCode_reasonText As String, request As SIP_Request ) As SIP_Response
public: SIP_Response^ CreateResponse( String^ statusCode_reasonText, SIP_Request^ request )
member CreateResponse : statusCode_reasonText : string * request : SIP_Request -> SIP_Response
Parameters
- statusCode_reasonText (String)
- Status-code reasontext.
- request (SIP_Request)
- SIP request.
Return Value
SIP_Response
Returns created response.
Returns created response.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Is raised when statusCode_reasonText or request is null reference. |
InvalidOperationException | Is raised when request is ACK-request. ACK request is response less. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119