Edit

Share via


ContentDescription Constructors

Definition

Overloads

ContentDescription()

Initializes an instance of the class.

ContentDescription(ContentType, Byte[])

Initializes an instance of the class with parameters.

ContentDescription(ContentType, String)

Initializes an instance of the class with parameters.

ContentDescription()

Initializes an instance of the class.

public:
 ContentDescription();
public ContentDescription ();
Public Sub New ()

Applies to

ContentDescription(ContentType, Byte[])

Initializes an instance of the class with parameters.

public:
 ContentDescription(System::Net::Mime::ContentType ^ contentType, cli::array <System::Byte> ^ body);
public ContentDescription (System.Net.Mime.ContentType contentType, byte[] body);
new Microsoft.Rtc.Signaling.ContentDescription : System.Net.Mime.ContentType * byte[] -> Microsoft.Rtc.Signaling.ContentDescription

Parameters

contentType
ContentType

The content type.

body
Byte[]

The message body of the Invite message.

Applies to

ContentDescription(ContentType, String)

Initializes an instance of the class with parameters.

public:
 ContentDescription(System::Net::Mime::ContentType ^ contentType, System::String ^ body);
public ContentDescription (System.Net.Mime.ContentType contentType, string body);
new Microsoft.Rtc.Signaling.ContentDescription : System.Net.Mime.ContentType * string -> Microsoft.Rtc.Signaling.ContentDescription

Parameters

contentType
ContentType

The content type.

body
String

The message body of the Invite message.

Exceptions

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

Applies to