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) 

事件类型

注解

警告

当应用暂停时,必须取消注册此事件的处理程序。

适用于