SignalingSession.EndParticipate Method
Waits for the pending participate operation to complete.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Function EndParticipate ( _
result As IAsyncResult _
) As SipMessageData
'Usage
Dim instance As SignalingSession
Dim result As IAsyncResult
Dim returnValue As SipMessageData
returnValue = instance.EndParticipate(result)
public SipMessageData EndParticipate(
IAsyncResult result
)
Parameters
- result
Type: System.IAsyncResult
The reference to the pending asynchronous operation.
Return Value
Type: Microsoft.Rtc.Signaling.SipMessageData
Returns SIP message (200 response or ACK request)
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when this method is invoked multiple times using the same result. |
ArgumentNullException | Thrown when the result parameter is null. |
ArgumentException | Thrown when the result parameter is invalid. |
OperationTimeoutException | Thrown when this operation timed out. |
RealTimeException | Thrown when any of the sub operations of this operation failed due to SIP related errors like connection failure, Authentication failure. |
Remarks
This method is now deprecated in favor of the BeginEstablish and BeginAccept APIs which have extended functionality.