AppCaptureRecordOperation.FileGenerated 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
發生于錄製狀態因為與錄製作業相關聯的檔案而變更時。
// Register
event_token FileGenerated(TypedEventHandler<AppCaptureRecordOperation, AppCaptureFileGeneratedEventArgs const&> const& handler) const;
// Revoke with event_token
void FileGenerated(event_token const* cookie) const;
// Revoke with event_revoker
AppCaptureRecordOperation::FileGenerated_revoker FileGenerated(auto_revoke_t, TypedEventHandler<AppCaptureRecordOperation, AppCaptureFileGeneratedEventArgs const&> const& handler) const;
public event TypedEventHandler<AppCaptureRecordOperation,AppCaptureFileGeneratedEventArgs> FileGenerated;
function onFileGenerated(eventArgs) { /* Your code */ }
appCaptureRecordOperation.addEventListener("filegenerated", onFileGenerated);
appCaptureRecordOperation.removeEventListener("filegenerated", onFileGenerated);
- or -
appCaptureRecordOperation.onfilegenerated = onFileGenerated;
Public Custom Event FileGenerated As TypedEventHandler(Of AppCaptureRecordOperation, AppCaptureFileGeneratedEventArgs)
事件類型
Windows 需求
應用程式功能 |
appCaptureSettings
|