ContactGroupServices.EndGetCachedGroup Method
Ends the asynchronous operation initiated by the BeginGetCachedGroup.
Namespace: Microsoft.Rtc.Collaboration.ContactsGroups
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Function EndGetCachedGroup ( _
result As IAsyncResult _
) As Group
'Usage
Dim instance As ContactGroupServices
Dim result As IAsyncResult
Dim returnValue As Group
returnValue = instance.EndGetCachedGroup(result)
public Group EndGetCachedGroup(
IAsyncResult result
)
Parameters
- result
Type: System.IAsyncResult
The reference to the pending asynchronous operation.
Return Value
Type: Microsoft.Rtc.Collaboration.ContactsGroups.Group
Information about the group.
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 EndGetCachedGroup 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.