EndPresenceQuery Method
Complete the async operation initiated by the BeginPresenceQuery.
Namespace: Microsoft.Rtc.Collaboration.Presence
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Function EndPresenceQuery ( _
result As IAsyncResult _
) As IEnumerable(Of RemotePresentityNotificationData)
'Usage
Dim instance As RemotePresence
Dim result As IAsyncResult
Dim returnValue As IEnumerable(Of RemotePresentityNotificationData)
returnValue = instance.EndPresenceQuery(result)
public IEnumerable<RemotePresentityNotificationData> EndPresenceQuery(
IAsyncResult result
)
Parameters
- result
Type: System..::..IAsyncResult
Return Value
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'RemotePresentityNotificationData>)>)>
Remarks
Exceptions
[T:System.ArgumentNullException]: Thrown when the parameter was null. The IAsyncResult is a required parameter.
[T:System.ArgumentException]: Thrown when the IAsyncResult object was created by a Begin method for a different operation.
[T:System.InvalidOperationException]: Thrown when end was called multiple times.