共用方式為


AppCaptureRecordOperation.FileGenerated 事件

定義

發生于錄製狀態因為與錄製作業相關聯的檔案而變更時。

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

適用於