Ends the pending asynchronous subscribe
operation.
Namespace:
Microsoft.Rtc.Signaling
Assembly:
Microsoft.Rtc.Collaboration(in
Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
Public
Sub
EndSubscribe ( _
result
As
IAsyncResult _
)
|
C# |
public
void
EndSubscribe(
IAsyncResult
result
)
|
Visual C++ |
public:
void
EndSubscribe(
IAsyncResult^
result
)
|
JavaScript |
function
endSubscribe(
result);
|
Parameters
-
result
- Type:
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. |
See Also