BeginPublishServiceRequest Method (String, ContentType, String, AsyncCallback, Object)
This method will create a SipService Request for the given contentType and messageBody, service operation started with this method should be completed via calling the EndPublishServiceRequest method.
Namespace: Microsoft.Rtc.Collaboration.Presence
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Protected Function BeginPublishServiceRequest ( _
msgBody As String, _
contentType As ContentType, _
operationId As String, _
userCallback As AsyncCallback, _
state As Object _
) As IAsyncResult
'Usage
Dim msgBody As String
Dim contentType As ContentType
Dim operationId As String
Dim userCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult
returnValue = Me.BeginPublishServiceRequest(msgBody, _
contentType, operationId, userCallback, _
state)
protected IAsyncResult BeginPublishServiceRequest(
string msgBody,
ContentType contentType,
string operationId,
AsyncCallback userCallback,
Object state
)
Parameters
- msgBody
Type: System..::..String
- contentType
Type: System.Net.Mime..::..ContentType
- operationId
Type: System..::..String
- userCallback
Type: System..::..AsyncCallback
- state
Type: System..::..Object
Return Value
Type: System..::..IAsyncResult
See Also
Reference
PublishSubscribeSession Members