This method is used to determine whether the
corresponding operation completed successfully. This method will
wait if the operation has not yet completed
Namespace:
Microsoft.Rtc.Collaboration.AudioVideo
Assembly: Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub EndEstablishEarlyMedia ( _ result As IAsyncResult _ ) |
C# |
---|
public void EndEstablishEarlyMedia( IAsyncResult result ) |
Visual C++ |
---|
public: void EndEstablishEarlyMedia( IAsyncResult^ result ) |
JavaScript |
---|
function endEstablishEarlyMedia( result); |
Parameters
- result
- Type:
IAsyncResult
The reference to the pending asynchronous operation.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when this method is invoked multiple times using the same asyncResult. |
ArgumentNullException | Thrown when the resultparameter is null. |
ArgumentException | Thrown when the resultparameter is invalid. |
Microsoft.Rtc.Signaling . . :: . OperationTimeoutException | Thrown when this operation is timed out. |
Microsoft.Rtc.Signaling . . :: . OperationFailureException | Thrown when any of the sub operations of this operation failed due to invalid object state. |
Microsoft.Rtc.Signaling . . :: . RealTimeException | Thrown when any of the sub operations of this operation failed due to SIP related errors like connection failure, Authentication failure. |