ContentDescription Constructor (ContentType, String)

Initializes an instance of the class.

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

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