Creates new out-off dialog SIP request.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public SIP_Request CreateRequest( string method, SIP_t_NameAddress to, SIP_t_NameAddress from )
Public Function CreateRequest ( method As String, to As SIP_t_NameAddress, from As SIP_t_NameAddress ) As SIP_Request
public: SIP_Request^ CreateRequest( String^ method, SIP_t_NameAddress^ to, SIP_t_NameAddress^ from )
member CreateRequest : method : string * to : SIP_t_NameAddress * from : SIP_t_NameAddress -> SIP_Request
Parameters
- method (String)
- SIP request-method.
- to (SIP_t_NameAddress)
- Recipient address. For example: sip:user@domain.com
- from (SIP_t_NameAddress)
- Senders address. For example: sip:user@domain.com
Return Value
SIP_Request
Returns created request.
Returns created request.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | Is raised when this object is disposed and and this method is accessed. |
ArgumentNullException | Is raised when method,to or from is null. |
ArgumentException | Is raised when any of the arguments has invalid value. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119