Partilhar via


LocalOwnerPresence.AutomaticPublicationStateChanged Event

Raised when the state of automatic publications changes.

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

Syntax

'Declaration
Public Event AutomaticPublicationStateChanged As EventHandler(Of PresencePublicationStateChangedEventArgs)
'Usage
Dim instance As LocalOwnerPresence
Dim handler As EventHandler(Of PresencePublicationStateChangedEventArgs)

AddHandler instance.AutomaticPublicationStateChanged, handler
public event EventHandler<PresencePublicationStateChangedEventArgs> AutomaticPublicationStateChanged

Remarks

Automatic presence publication will only be done when AutomaticPresencePublicationEnabled or AutomaticPresencePublicationEnabled is set to true.

See Also

Reference

LocalOwnerPresence Class

LocalOwnerPresence Members

Microsoft.Rtc.Collaboration.Presence Namespace