LocalOwnerPresence.EndAcknowledgeSubscriber Method
Ends the asynchronous operation initiated by BeginAcknowledgeSubscriber.
Namespace: Microsoft.Rtc.Collaboration.Presence
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub EndAcknowledgeSubscriber ( _
result As IAsyncResult _
)
'Usage
Dim instance As LocalOwnerPresence
Dim result As IAsyncResult
instance.EndAcknowledgeSubscriber(result)
public void EndAcknowledgeSubscriber(
IAsyncResult result
)
Parameters
- result
Type: System.IAsyncResult
The reference to the pending asynchronous operation.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the argument passed is null or invalid. |
InvalidOperationException | Thrown when this method is invoked multiple times using the same 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. |
Remarks
PublishSubscribeException is usually thrown when the XML request sent to the server is invalid.