Ends the asynchronous operation initiated by
BeginDeleteContact.
Namespace:
Microsoft.Rtc.Collaboration.ContactsGroups
Assembly: Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub EndDeleteContact ( _ result As IAsyncResult _ ) |
C# |
---|
public void EndDeleteContact( IAsyncResult result ) |
Visual C++ |
---|
public: void EndDeleteContact( IAsyncResult^ result ) |
JavaScript |
---|
function endDeleteContact( result); |
Parameters
- result
- Type:
IAsyncResult
The reference to the pending asynchronous operation.
Remarks
PublishSubscribeException is usually thrown when the XML
request sent to the server is invalid.
For OperationFailureException, the inner exception should give more information.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when resultis null. |
ArgumentException | Thrown when resultwas created by a Begin method for a different operation. |
InvalidOperationException | Thrown when EndDeleteContact was called more than once for the same instance of result. |
Microsoft.Rtc.Signaling . . :: . PublishSubscribeException | Thrown when the SIP SERVICE request is rejected by the server. |
Microsoft.Rtc.Signaling . . :: . OperationFailureException | Thrown when the underlying subscription changed during the operation. |
Microsoft.Rtc.Signaling . . :: . RealTimeException | Thrown when SIP Transport, SIP authentication and credential-related errors are encountered. |