ContactGroupServices.EndGetCachedContact Method

Ends the asynchronous operation initiated by the BeginGetCachedContact.

Namespace:  Microsoft.Rtc.Collaboration.ContactsGroups
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Function EndGetCachedContact ( _
    result As IAsyncResult _
) As Contact
'Usage
Dim instance As ContactGroupServices
Dim result As IAsyncResult
Dim returnValue As Contact

returnValue = instance.EndGetCachedContact(result)
public Contact EndGetCachedContact(
    IAsyncResult result
)

Parameters

Return Value

Type: Microsoft.Rtc.Collaboration.ContactsGroups.Contact
Information about the contact.

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 EndCachedContact was called more than once for the same instance of result.

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.

See Also

Reference

ContactGroupServices Class

ContactGroupServices Members

Microsoft.Rtc.Collaboration.ContactsGroups Namespace