PushNotificationReceivedEventArgs.Cancel 屬性

定義

取得或設定 Windows 是否應該執行通知的預設處理。

public:
 property bool Cancel { bool get(); void set(bool value); };
bool Cancel();

void Cancel(bool value);
public bool Cancel { get; set; }
var boolean = pushNotificationReceivedEventArgs.cancel;
pushNotificationReceivedEventArgs.cancel = boolean;
Public Property Cancel As Boolean

屬性值

Boolean

bool

True 是表示 防止 Windows 預設處理通知,否則為 false。 預設值為 false。

Windows 需求

應用程式功能
internetClient

適用於

另請參閱