共用方式為


ChatMessageChangedEventArgs 類別

定義

表示事件處理常式用來處理訊息變更事件的事件參數。

public ref class ChatMessageChangedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ChatMessageChangedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ChatMessageChangedEventArgs
Public NotInheritable Class ChatMessageChangedEventArgs
繼承
Object Platform::Object IInspectable ChatMessageChangedEventArgs
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)
應用程式功能
chat chatSystem smsSend

備註

取得處理常式中這個 物件的實例給 MessageChanged 事件。

方法

GetDeferral()

應用程式向訊息存放區註冊的訊息已變更事件處理常式,會在事件參數中接收延遲物件。 GetDeferral 方法會註冊變更延遲,並允許應用程式在訊息存放區完成變更之前採取與變更相關的動作。

適用於