Conversation.BeginTerminate Method (ConversationTerminateOptions, AsyncCallback, Object)

Begins an asynchronous operation to terminate the conversation.

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

Syntax

'Declaration
Public Function BeginTerminate ( _
    options As ConversationTerminateOptions, _
    userCallback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'Usage
Dim instance As Conversation
Dim options As ConversationTerminateOptions
Dim userCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginTerminate(options, _
    userCallback, state)
public IAsyncResult BeginTerminate(
    ConversationTerminateOptions options,
    AsyncCallback userCallback,
    Object state
)

Parameters

  • userCallback
    Type: System.AsyncCallback
    The method to be called when the asynchronous operation is completed.
  • state
    Type: System.Object
    A user-provided object that distinguishes this particular asynchronous operation from other asynchronous operations.

Return Value

Type: System.IAsyncResult
An IAsyncResult that references the asynchronous operation.

Exceptions

Exception Condition
ArgumentException

Thrown when options parameter contains invalid diagnostics information DiagnosticsInformation.

ArgumentException

Thrown when the options has invalid diagnostics information..

Remarks

Terminates the conversation by first terminating all the calls, the conference session and conference invitations associated with this conversation.

See Also

Reference

Conversation Class

Conversation Members

BeginTerminate Overload

Microsoft.Rtc.Collaboration Namespace