Partager via


Automation.BeginStartConversation Method (AutomationModalities, IEnumerable<String>, IEnumerable<KeyValuePair<AutomationModalitySettings, Object>>, AsyncCallback, Object)

Launches a Lync conversation window and invites specified participants using the specified modalities and optional conversation context data. The new conversation window is obtained in the System.AsyncCallback method you pass in the callback argument.

Namespace:  Microsoft.Lync.Model.Extensibility
Assembly:  Microsoft.Lync.Model (in Microsoft.Lync.Model.dll)

Syntax

'Declaration
Public Function BeginStartConversation ( _
    conversationModes As AutomationModalities, _
    participantUris As IEnumerable(Of String), _
    contextData As IEnumerable(Of KeyValuePair(Of AutomationModalitySettings, Object)), _
    callback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'Usage
Dim instance As Automation
Dim conversationModes As AutomationModalities
Dim participantUris As IEnumerable(Of String)
Dim contextData As IEnumerable(Of KeyValuePair(Of AutomationModalitySettings, Object))
Dim callback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginStartConversation(conversationModes, _
    participantUris, contextData, callback, _
    state)
public IAsyncResult BeginStartConversation(
    AutomationModalities conversationModes,
    IEnumerable<string> participantUris,
    IEnumerable<KeyValuePair<AutomationModalitySettings, Object>> contextData,
    AsyncCallback callback,
    Object state
)

Parameters

Return Value

Type: System.IAsyncResult

See Also

Reference

Automation Class

Automation Members

BeginStartConversation Overload

Microsoft.Lync.Model.Extensibility Namespace