PersistentChatEndpoint.BeginEstablish method

Establish a connection with the Persistent Chat server. This request will be processed asynchronously. See EndEstablish(IAsyncResult) to complete this asynchronous operation.

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

public IAsyncResult BeginEstablish(
	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
RealTimeException

The session encountered an error communicating with the Lync server.

InvalidOperationException

The endpoint is not in a valid state. An endpoint can only be established once and cannot be reused after being terminated.

Show:
© 2015 Microsoft