SipServiceRequest Constructor (SipEndpoint, ContentType, Byte[])

Initializes a new instance of the 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: array<System..::..Byte>[]()[][]
    The message body of the service request.

Exceptions

Exception Condition
ArgumentNullException

Thrown when the requestorEndpoint parameter is nullNothingnullptrunita null reference (Nothing in Visual Basic) or when contentType is nullNothingnullptrunita null reference (Nothing in Visual Basic), but messageBody is not empty (neither nullNothingnullptrunita null reference (Nothing in Visual Basic) or zero byte array).

See Also

Reference

SipServiceRequest Class

SipServiceRequest Members

SipServiceRequest Overload

Microsoft.Rtc.Signaling Namespace