SipSubscription.EndSubscribe Method
Ends the pending asynchronous subscribe operation.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub EndSubscribe ( _
result As IAsyncResult _
)
'Usage
Dim instance As SipSubscription
Dim result As IAsyncResult
instance.EndSubscribe(result)
public void EndSubscribe(
IAsyncResult result
)
Parameters
- result
Type: System.IAsyncResult
The reference to the pending asynchronous operation.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when the parameter was null. The IAsyncResult is a required parameter. |
ArgumentException | Thrown when the IAsyncResult object was created by a Begin method for a different operation. |
InvalidOperationException | Thrown when End was called multiple times. |