Export (0) Print
Expand All

BeginPublishServiceRequest Method (String, ContentType, IEnumerable(SignalingHeader), String, AsyncCallback, Object)

This method will create a SipService Request for the given contentType, messageBody and additional custom headers.

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

protected IAsyncResult BeginPublishServiceRequest(
	string msgBody,
	ContentType contentType,
	IEnumerable<SignalingHeader> acceptedHeaders,
	string operationId,
	AsyncCallback userCallback,
	Object state
)

Parameters

msgBody
Type: System..::..String
contentType
Type: System.Net.Mime..::..ContentType
acceptedHeaders
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'SignalingHeader>)>)>
operationId
Type: System..::..String
userCallback
Type: System..::..AsyncCallback
state
Type: System..::..Object

Return Value

Type: System..::..IAsyncResult

Service operation started with this method should be completed via calling EndPublishServiceRequest method.

Community Additions

ADD
Show:
© 2014 Microsoft