ChatMessageChangedEventArgs ChatMessageChangedEventArgs ChatMessageChangedEventArgs ChatMessageChangedEventArgs Class

Definition

Represents event parameters used by the event handler that processes message change events.

public : sealed class ChatMessageChangedEventArgs : IChatMessageChangedEventArgspublic sealed class ChatMessageChangedEventArgs : IChatMessageChangedEventArgsPublic NotInheritable Class ChatMessageChangedEventArgs Implements IChatMessageChangedEventArgs// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Obtain an instance of this object in the handler to the MessageChanged event.

Methods

GetDeferral() GetDeferral() GetDeferral() GetDeferral()

The message changed event handler that an application registers with the message store receives a deferral object in the event parameters. The GetDeferral method registers a change deferral and allows an application to take action related to the change before the message store completes the change.

public : ChatMessageChangedDeferral GetDeferral()public ChatMessageChangedDeferral GetDeferral()Public Function GetDeferral() As ChatMessageChangedDeferral// You can use this method in JavaScript.
Returns

Remarks

The chat application receives a ChatMessageChangedDeferral class object when requested by GetDeferral. Deferrals are only available if the application has a change event handler added to the MessageChanged event of the ChatMessageStore class. The ChatMessageChangedDeferral class received in the parameters for the event handler is retained for later use to notify the message store that actions related to the changer are complete.