SipServiceRequest Constructor (RealTimeEndpoint, 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 RealTimeEndpoint, _
    contentType As ContentType, _
    messageBody As Byte() _
)
'Usage
Dim requestorEndpoint As RealTimeEndpoint
Dim contentType As ContentType
Dim messageBody As Byte()

Dim instance As New SipServiceRequest(requestorEndpoint, _
    contentType, messageBody)
public SipServiceRequest(
    RealTimeEndpoint 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