Conversation.BeginSendInitialContext method
This is used to send application context to the conversation. ContextTypes and context data values are mapped together, So they must have the same length. If the contextTypes include application GUID, the caller must have been registered using the same GUID.
Namespace: Microsoft.Lync.Model.Conversation
Assembly: Microsoft.Lync.Model (in Microsoft.Lync.Model.dll)
Syntax
'Declaration
Public Function BeginSendInitialContext ( _
contextData As IEnumerable(Of KeyValuePair(Of ContextType, Object)), _
callback As AsyncCallback, _
state As Object _
) As IAsyncResult
'Usage
Dim instance As Conversation
Dim contextData As IEnumerable(Of KeyValuePair(Of ContextType, Object))
Dim callback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult
returnValue = instance.BeginSendInitialContext(contextData, _
callback, state)
public IAsyncResult BeginSendInitialContext(
IEnumerable<KeyValuePair<ContextType, Object>> contextData,
AsyncCallback callback,
Object state
)
Parameters
- contextData
Type: System.Collections.Generic.IEnumerable<KeyValuePair<ContextType, Object>>
- callback
Type: System.AsyncCallback
- state
Type: System.Object
Return value
Type: System.IAsyncResult
System.IAsyncResult