Share via


ContentDescription Constructor (ContentType, String)

Initializes an instance of the class with parameters.

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

Syntax

'Declaration
Public Sub New ( _
    contentType As ContentType, _
    body As String _
)
'Usage
Dim contentType As ContentType
Dim body As String

Dim instance As New ContentDescription(contentType, _
    body)
public ContentDescription(
    ContentType contentType,
    string body
)

Parameters

  • body
    Type: System.String
    The message body of the Invite message.

Exceptions

Exception Condition
ArgumentException

Thrown when the character set on the content type is not supported.

See Also

Reference

ContentDescription Class

ContentDescription Members

ContentDescription Overload

Microsoft.Rtc.Signaling Namespace