PersistentChatEndpoint.BeginEstablish method

Lync 2013

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)

'Declaration
Public Function BeginEstablish ( _
	userCallback As AsyncCallback, _
	state As Object _
) As IAsyncResult
'Usage
Dim instance As PersistentChatEndpoint
Dim userCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginEstablish(userCallback, _
	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: