Dela via


AppBroadcastHeartbeatRequestedEventArgs.Handled Property

Definition

Gets or sets a value indicating whether the broadcasting background task is currently active.

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

void Handled(bool value);
public bool Handled { get; set; }
var boolean = appBroadcastHeartbeatRequestedEventArgs.handled;
appBroadcastHeartbeatRequestedEventArgs.handled = boolean;
Public Property Handled As Boolean

Property Value

Boolean

bool

True if the broadcasting background task is currently active; otherwise, false.

Windows requirements

App capabilities
appBroadcast appBroadcastSettings

Remarks

Set this value to true in the handler for the HeartbeatRequested event to confirm that the broadcasting background task is currently active.

Applies to