Share via


UserEndpointPresenceServices.EndUpdatePrivacyPreference Method

Completes the asynchronous operation initiated by BeginUpdatePrivacyPreference.

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

Syntax

'Declaration
Public Sub EndUpdatePrivacyPreference ( _
    result As IAsyncResult _
)
'Usage
Dim instance As UserEndpointPresenceServices
Dim result As IAsyncResult

instance.EndUpdatePrivacyPreference(result)
public void EndUpdatePrivacyPreference(
    IAsyncResult result
)

Parameters

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.

OperationFailureException

Thrown when the underlying subscription changed during the publish operation or an empty container update operation is specified.

RealTimeException

Thrown when SIP Transport, SIP authentication and credential-related errors are encountered.

Remarks

PublishSubscribeException is usually thrown when the request sent to the server is invalid.

See Also

Reference

UserEndpointPresenceServices Class

UserEndpointPresenceServices Members

Microsoft.Rtc.Collaboration Namespace