AppCaptureRecordOperation.FileGenerated Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the recording state changes due to the file associated with the recording operation.
// 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)
Event Type
Windows requirements
App capabilities |
appCaptureSettings
|