Edit

Share via


ContactGroupServices.EndGetCachedContact(IAsyncResult) Method

Definition

Ends the asynchronous operation initiated by the BeginGetCachedContact.

public:
 Microsoft::Rtc::Collaboration::ContactsGroups::Contact ^ EndGetCachedContact(IAsyncResult ^ result);
public Microsoft.Rtc.Collaboration.ContactsGroups.Contact EndGetCachedContact (IAsyncResult result);
member this.EndGetCachedContact : IAsyncResult -> Microsoft.Rtc.Collaboration.ContactsGroups.Contact
Public Function EndGetCachedContact (result As IAsyncResult) As Contact

Parameters

result
IAsyncResult

The reference to the pending asynchronous operation.

Returns

Information about the contact.

Exceptions

Thrown when result is null.

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

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

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