Puts the desired ContentType and messageBody on out params for the given requestType.

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

Syntax

Visual Basic (Declaration)
Sub 
GetMessageBody ( _
	
requestType 
As 

SipSubscription

.
.
::
.
RequestType, _
		<
OutAttribute> 
ByRef 
contentType 
As 
ContentType, _
		<
OutAttribute> 
ByRef 
messageBody 
As 
Byte() _
)
C#
void 
GetMessageBody(
	

SipSubscription

.
.
::
.
RequestType 
requestType,
	
out 
ContentType 
contentType,
	
out 
byte[] 
messageBody
)
Visual C++
void 
GetMessageBody(
	

SipSubscription

.
.
::
.
RequestType 
requestType, 
		[
OutAttribute] 
ContentType^% 
contentType, 
		[
OutAttribute] 
array<
unsigned char>^% 
messageBody
)
JavaScript
function 
getMessageBody(
requestType, 
contentType, 
messageBody);

Parameters

requestType
Type: Microsoft.Rtc.Signaling . . :: . SipSubscription . . :: . RequestType
Subscription request type.
contentType
Type: ContentType %
ContentType to be specify on contenttype header of the message.
messageBody
Type: array< Byte > [] () [] %
Content body for the request message.

See Also