Share via


ApplicationEndpointSettings.AutomaticPresencePublicationEnabled Property

Gets or sets whether presence information will be published automatically on behalf of the endpoint as part of the establishment process.

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 ApplicationEndpointSettings
Dim value As Boolean

value = instance.AutomaticPresencePublicationEnabled

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

Property Value

Type: System.Boolean

Remarks

If set to true a ContactCard instance will be published in container 0 automatically during the establishment process. The instance will have the IsAutomatedService property set to true along with presentity type, description, if provided, phone numbers, PersistentOnline and any specified endpoint capabilities.

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

The default value is false. Applications can override this default value.

See Also

Reference

ApplicationEndpointSettings Class

ApplicationEndpointSettings Members

Microsoft.Rtc.Collaboration Namespace