PushNotificationReceivedEventArgs.Cancel Property

Definition

Gets or sets whether Windows should perform its default handling of the notification.

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

Property Value

Boolean

bool

True to prevent default processing of the notification by Windows, otherwise false. The default value is false.

Windows requirements

App capabilities
internetClient

Applies to

See also