AppCapture.CapturingChanged Kejadian

Definisi

Dimunculkan saat status penangkap berubah.

// 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) 

Jenis Acara

Keterangan

Peringatan

Anda harus membatalkan pendaftaran handler untuk kejadian ini saat aplikasi ditangguhkan.

Berlaku untuk