ContactGroupServices.EndDeleteContact Method
Ends the asynchronous operation initiated by BeginDeleteContact.
Namespace: Microsoft.Rtc.Collaboration.ContactsGroups
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub EndDeleteContact ( _
result As IAsyncResult _
)
'Usage
Dim instance As ContactGroupServices
Dim result As IAsyncResult
instance.EndDeleteContact(result)
public void EndDeleteContact(
IAsyncResult result
)
Parameters
- result
Type: System.IAsyncResult
The reference to the pending asynchronous operation.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when result is null. |
ArgumentException | Thrown when result was created by a Begin method for a different operation. |
InvalidOperationException | Thrown when EndDeleteContact was called more than once for the same instance of result. |
PublishSubscribeException | Thrown when the SIP SERVICE request is rejected by the server. |
OperationFailureException | Thrown when the underlying subscription changed during the operation. |
RealTimeException | Thrown when SIP Transport, SIP authentication and credential-related errors are encountered. |
Remarks
For OperationFailureException, the inner exception should give more information.