Creates a new instance of the MimePartContentDescription class.

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

Syntax

Visual Basic (Declaration)
Public 
Sub 
New ( _
	
contentType 
As 
ContentType, _
	
body 
As 
Byte() _
)
C#
public 
MimePartContentDescription(
	
ContentType 
contentType,
	
byte[] 
body
)
Visual C++
public:
MimePartContentDescription(
	
ContentType^ 
contentType, 
	
array<
unsigned char>^ 
body
)
JavaScript

Microsoft.Rtc.Collaboration.MimePartContentDescription = 
function(
contentType, 
body);

Parameters

contentType
Type: ContentType
The content type for this MIME part. Can be null.
body
Type: array< Byte > [] () []
The body of this MIME part. Can be null.

Remarks

Initializes class, supplying content type and body. These parameters can be null.

See Also