PersistentChatEndpoint.BeginTerminate method

Lync 2013

Terminate an established connection with the Persistent Chat server, and clean up all resources associated with the connection. This request will be processed asynchronously. See EndTerminate(IAsyncResult) to complete this asynchronous operation.

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

public IAsyncResult BeginTerminate(
	AsyncCallback userCallback,
	Object state
)

Parameters

userCallback
Type: System.AsyncCallback

The method to be invoked when this asynchronous operation completes.

state
Type: System.Object

An object to be passed back to the callback.

Return value

Type: System.IAsyncResult
An IAsyncResult that references this operation.

ExceptionCondition
ChatServerConnectionException

The endpoint is not in a valid state.

Show: