Ends the asynchronous operation initiated by the BeginGetCachedContact.

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

Syntax

Visual Basic (Declaration)
Public 
Function 
EndGetCachedContact ( _
	
result 
As 
IAsyncResult _
) 
As 

Contact
C#
public 

Contact 
EndGetCachedContact(
	
IAsyncResult 
result
)
Visual C++
public:

Contact^ 
EndGetCachedContact(
	
IAsyncResult^ 
result
)
JavaScript
function 
endGetCachedContact(
result);

Parameters

result
Type: IAsyncResult
The reference to the pending asynchronous operation.

Return Value

Information about the contact.

Remarks

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

See Also