SipServiceRequest Constructor (SipEndpoint, ContentType, Byte )

Initializes a new instance of the SipServiceRequest class.

Namespace:  Microsoft.Rtc.Signaling
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Sub New ( _
    requestorEndpoint As SipEndpoint, _
    contentType As ContentType, _
    messageBody As Byte() _
)
'Usage
Dim requestorEndpoint As SipEndpoint
Dim contentType As ContentType
Dim messageBody As Byte()

Dim instance As New SipServiceRequest(requestorEndpoint, _
    contentType, messageBody)
public SipServiceRequest(
    SipEndpoint requestorEndpoint,
    ContentType contentType,
    byte[] messageBody
)

Parameters

  • messageBody
    Type: []
    The message body of the service request.

Exceptions

Exception Condition
ArgumentNullException

Thrown when requestorEndpoint parameter is null.

ArgumentNullException

Thrown when contentType is null, but messageBody is not empty( neither null or zero byte array).

See Also

Reference

SipServiceRequest Class

SipServiceRequest Members

SipServiceRequest Overload

Microsoft.Rtc.Signaling Namespace