Partilhar via


UserEndpointSettings.AutomaticPresencePublicationEnabled Property

Gets or sets the boolean value representing whether presence subcription and publishing of basic presence information should be done automatically as part of the establish process for the endpoint.

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

Syntax

'Declaration
Public Property AutomaticPresencePublicationEnabled As Boolean
    Get
    Set
'Usage
Dim instance As UserEndpointSettings
Dim value As Boolean

value = instance.AutomaticPresencePublicationEnabled

instance.AutomaticPresencePublicationEnabled = value
public bool AutomaticPresencePublicationEnabled { get; set; }

Property Value

Type: System.Boolean

Remarks

Publication failure during endpoint establishment will be reflected through AutomaticPublicationState and AutomaticPublicationStateChanged. Subscription failure during endpoint establishment will be reflected through CurrentState and SubscriptionStateChange Endpoint establishment will be allowed to proceed inspite of publication or subscription failure. Retries will continue in the background and the application will be notified upon success.

The default value is false.

See Also

Reference

UserEndpointSettings Class

UserEndpointSettings Members

Microsoft.Rtc.Collaboration Namespace