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

适用于

另请参阅