PersistentChatEndpoint.EndEstablish(IAsyncResult) Method

Definition

Completes the asynchronous request initiated by BeginEstablish(AsyncCallback, Object)

public:
 void EndEstablish(IAsyncResult ^ asyncResult);
public void EndEstablish (IAsyncResult asyncResult);
member this.EndEstablish : IAsyncResult -> unit
Public Sub EndEstablish (asyncResult As IAsyncResult)

Parameters

asyncResult
IAsyncResult

The IAsyncResult that references this operation.

Exceptions

asyncResult is null.

The persistent chat server is unreachable or the connection attempt is refused.

The endpoint is not in a valid state to be established, or the connection call flow is interrupted.

The session encountered an error communicating with the Lync server.

Applies to