AppCapture.CapturingChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
TypedEventHandler<AppCapture,IInspectable>
Remarks
Warning
You must unregister the handler for this event when your app is suspended.