Udostępnij za pośrednictwem


AppCapture.CapturingChanged Event

Definition

Raised when the capturing status changes.

// Register
event_token CapturingChanged(TypedEventHandler<AppCapture, IInspectable const&> const& handler) const;

// Revoke with event_token
void CapturingChanged(event_token const* cookie) const;

// Revoke with event_revoker
AppCapture::CapturingChanged_revoker CapturingChanged(auto_revoke_t, TypedEventHandler<AppCapture, IInspectable const&> const& handler) const;
public event TypedEventHandler<AppCapture,object> CapturingChanged;
function onCapturingChanged(eventArgs) { /* Your code */ }
appCapture.addEventListener("capturingchanged", onCapturingChanged);
appCapture.removeEventListener("capturingchanged", onCapturingChanged);
- or -
appCapture.oncapturingchanged = onCapturingChanged;
Public Custom Event CapturingChanged As TypedEventHandler(Of AppCapture, Object) 

Event Type

Remarks

Warning

You must unregister the handler for this event when your app is suspended.

Applies to