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

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

Syntax

Visual Basic (Declaration)
Public 
Sub 
EndEstablish ( _
	
asyncResult 
As 
IAsyncResult _
)
Visual Basic (Usage)
Dim 
instance 
As 

GroupChatEndpoint
Dim 
asyncResult 
As 
IAsyncResult

instance.
EndEstablish(
asyncResult)
C#
public 
void 
EndEstablish(
	
IAsyncResult 
asyncResult
)

Parameters

asyncResult
Type: System . . :: . . IAsyncResult

The IAsyncResult that references this operation.

Exceptions

Exception Condition
ArgumentException

Thrown when invalid arguments are passed.

[Microsoft.Rtc.Collaboration.GroupChat.ChatServerConnectionException]

Thrown if the group chat server is unreachable or the connection attempt is refused.

[Microsoft.Rtc.Collaboration.GroupChat.CommandFailedException]

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

[RealTimeException]

Thrown if the session encounters an error communicating with Office Communications Server.

See Also