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.
Assembly: Microsoft.Rtc.Collaboration.PersistentChat (in Microsoft.Rtc.Collaboration.PersistentChat.dll)
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.
| Exception | Condition |
|---|---|
| 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. |