UserEndpointPresenceServices.BeginUpdatePrivacyPreference Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Begins an asynchronous operation to set the local owner preferred privacy mode.
public:
IAsyncResult ^ BeginUpdatePrivacyPreference(Microsoft::Rtc::Collaboration::Presence::PrivacyModePreference privacyPreference, AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginUpdatePrivacyPreference (Microsoft.Rtc.Collaboration.Presence.PrivacyModePreference privacyPreference, AsyncCallback userCallback, object state);
member this.BeginUpdatePrivacyPreference : Microsoft.Rtc.Collaboration.Presence.PrivacyModePreference * AsyncCallback * obj -> IAsyncResult
Public Function BeginUpdatePrivacyPreference (privacyPreference As PrivacyModePreference, userCallback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- privacyPreference
- PrivacyModePreference
Value indicating what the local owner's privacy preference would be.
- userCallback
- AsyncCallback
The method to be called when the asynchronous operation is completed.
- state
- Object
A user-provided object that distinguishes this particular asynchronous operation from other asynchronous operations.
Returns
An IAsyncResult that references the asynchronous operation.
Exceptions
Thrown when the endpoint is not a user endpoint or subscribed to this session.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for