RemotePresence.EndRefresh Method
Ends the asynchronous operation started by BeginRefresh(AsyncCallback, Object).
Namespace: Microsoft.Rtc.Collaboration.Presence
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub EndRefresh ( _
result As IAsyncResult _
)
'Usage
Dim instance As RemotePresence
Dim result As IAsyncResult
instance.EndRefresh(result)
public void EndRefresh(
IAsyncResult result
)
Parameters
- result
Type: System.IAsyncResult
The reference to the pending asynchronous operation.
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 EndRefresh was called more than once for the same instance of result. |
PublishSubscribeException | Thrown when the SIP SERVICE request is rejected by the server. |
RealTimeException | Thrown when SIP Transport, SIP authentication and credential-related errors are encountered. |