Share via


Modality.ActionAvailabilityChanged event

Raised when an action availability changes.

Namespace:  Microsoft.Lync.Model.Conversation
Assembly:  Microsoft.Lync.Model (in Microsoft.Lync.Model.dll)

Syntax

'Declaration
Public Event ActionAvailabilityChanged As EventHandler(Of ModalityActionAvailabilityChangedEventArgs)
'Usage
Dim instance As Modality
Dim handler As EventHandler(Of ModalityActionAvailabilityChangedEventArgs)

AddHandler instance.ActionAvailabilityChanged, handler
public event EventHandler<ModalityActionAvailabilityChangedEventArgs> ActionAvailabilityChanged

Remarks

When you want to be advised that an action to be taken is on a single participant modality instead of the conversation modality, register for this event on Participant.Modalities[ModalityType]. For example, if the availability of a controller action changes on a conversation participant's ApplicationSharingModality, you get the event if you have registered for it on the modality at Participant.Modalities[ModalityType.ApplicationSharing]. Note: You must always register for this event on the conversation Modality in addition to event registration on any participant's modalty.

See also

Reference

Modality class

Modality members

Microsoft.Lync.Model.Conversation namespace