Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the user state that will be published as part of the establish operation.
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Property UserPresenceState As PresenceState
Get
Set
'Usage
Dim instance As UserPresenceSettings
Dim value As PresenceState
value = instance.UserPresenceState
instance.UserPresenceState = value
public PresenceState UserPresenceState { get; set; }
Property Value
Type: Microsoft.Rtc.Collaboration.Presence.PresenceState
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | When an incorrect value is supplied. |
Remarks
This is only published when AutomaticPresencePublicationEnabled is set to true.
This property is set to null by default and therefore no user state is published. Applications are advised to set it to a valid value.