Edit

Share via


PublishSubscribeSession.EndSubscribe(IAsyncResult) Method

Definition

Ends the Subscribe operation initiated by BeginSubscribe.

public:
 virtual void EndSubscribe(IAsyncResult ^ result);
public virtual void EndSubscribe (IAsyncResult result);
abstract member EndSubscribe : IAsyncResult -> unit
override this.EndSubscribe : IAsyncResult -> unit
Public Overridable Sub EndSubscribe (result As IAsyncResult)

Parameters

result
IAsyncResult

The reference to the pending asynchronous operation.

Exceptions

Thrown when the argument passed is null or invalid.

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

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

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

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

Applies to