Edit

Share via


LocalOwnerPresence.EndPublishPresence(IAsyncResult) Method

Definition

Ends the asynchronous operation initiated by BeginPublishPresence.

public:
 void EndPublishPresence(IAsyncResult ^ result);
public void EndPublishPresence (IAsyncResult result);
member this.EndPublishPresence : IAsyncResult -> unit
Public Sub EndPublishPresence (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 SIP SERVICE request is rejected by the server.

Thrown when the underlying subscription changed during the publish operation.

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

Remarks

PublishSubscribeException is usually thrown when the XML request sent to the server is invalid.

Applies to