Edit

Share via


ContactGroupServices.EndAddContact(IAsyncResult) Method

Definition

Ends the asynchronous operation initiated by BeginAddContact.

public:
 void EndAddContact(IAsyncResult ^ result);
public void EndAddContact (IAsyncResult result);
member this.EndAddContact : IAsyncResult -> unit
Public Sub EndAddContact (result As IAsyncResult)

Parameters

result
IAsyncResult

The reference to the pending asynchronous operation.

Exceptions

Thrown when result is null.

Thrown when result was created by a Begin method for a different operation.

Thrown when EndAddContact was called more than once for the same instance of result.

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

Thrown when the underlying subscription changed during the operation.

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

Remarks

For OperationFailureException, the inner exception should give more information.

Applies to