共用方式為


AppCapture.CapturingChanged 事件

定義

擷取狀態變更時引發。

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

事件類型

備註

警告

當您的應用程式暫停時,您必須取消註冊此事件的處理常式。

適用於