Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

PublishSubscribeSession.EndSubscribe Method

Ends the Subscribe operation initiated by BeginSubscribe.

Namespace:  Microsoft.Rtc.Collaboration.Presence
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
public virtual void EndSubscribe(
	IAsyncResult result
)

Parameters

result
Type: System.IAsyncResult
The reference to the pending asynchronous operation.
ExceptionCondition
ArgumentException

Thrown when the argument passed is null or invalid.

InvalidOperationException

Thrown when this method is invoked multiple times using the same result.

OperationFailureException

Thrown when the endpoint or session is in an invalid state during the operation.

PublishSubscribeException

Thrown when the SIP SERVICE request is rejected by the server.

RealTimeException

Thrown when SIP Transport, SIP authentication and credential-related errors are encountered.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.