Initializes an instance of the class with parameters.

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

Syntax

Visual Basic (Declaration)
Public 
Sub 
New ( _
	
contentType 
As 
ContentType, _
	
body 
As 
String _
)
C#
public 
ContentDescription(
	
ContentType 
contentType,
	
string 
body
)
Visual C++
public:
ContentDescription(
	
ContentType^ 
contentType, 
	
String^ 
body
)
JavaScript

Microsoft.Rtc.Signaling.ContentDescription = 
function(
contentType, 
body);

Parameters

contentType
Type: ContentType
The content type.
body
Type: 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