SipServiceRequest Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SipServiceRequest(RealTimeEndpoint, ContentType, Byte[]) |
Initializes a new instance of the SipServiceRequest class. |
SipServiceRequest(SipEndpoint, ContentType, Byte[]) |
Initializes a new instance of the SipServiceRequest class. |
SipServiceRequest(RealTimeEndpoint, ContentType, Byte[])
Initializes a new instance of the SipServiceRequest class.
public:
SipServiceRequest(Microsoft::Rtc::Signaling::RealTimeEndpoint ^ requestorEndpoint, System::Net::Mime::ContentType ^ contentType, cli::array <System::Byte> ^ messageBody);
public SipServiceRequest (Microsoft.Rtc.Signaling.RealTimeEndpoint requestorEndpoint, System.Net.Mime.ContentType contentType, byte[] messageBody);
new Microsoft.Rtc.Signaling.SipServiceRequest : Microsoft.Rtc.Signaling.RealTimeEndpoint * System.Net.Mime.ContentType * byte[] -> Microsoft.Rtc.Signaling.SipServiceRequest
Parameters
- requestorEndpoint
- RealTimeEndpoint
SipEndpoint creating the service request.
- contentType
- ContentType
The content type for the service request.
- messageBody
- Byte[]
The message body of the service request.
Exceptions
Thrown when contentType is null, but messageBody is not empty( neither null or zero byte array).
Applies to
SipServiceRequest(SipEndpoint, ContentType, Byte[])
Initializes a new instance of the SipServiceRequest class.
public:
SipServiceRequest(Microsoft::Rtc::Signaling::SipEndpoint ^ requestorEndpoint, System::Net::Mime::ContentType ^ contentType, cli::array <System::Byte> ^ messageBody);
public SipServiceRequest (Microsoft.Rtc.Signaling.SipEndpoint requestorEndpoint, System.Net.Mime.ContentType contentType, byte[] messageBody);
new Microsoft.Rtc.Signaling.SipServiceRequest : Microsoft.Rtc.Signaling.SipEndpoint * System.Net.Mime.ContentType * byte[] -> Microsoft.Rtc.Signaling.SipServiceRequest
Parameters
- requestorEndpoint
- SipEndpoint
SipEndpoint creating the service request.
- contentType
- ContentType
The content type for the service request.
- messageBody
- Byte[]
The message body of the service request.
Exceptions
Thrown when contentType is null, but messageBody is not empty( neither null or zero byte array).