FileOperationFailedEvent Interface
Terminal notification for a started operation that rejects. Success events are never emitted after this notification.
Package: @txtextcontrol/tx-sheet-control. Version: 2.0.0.
Type-only declaration; it is not a JavaScript runtime constructor.
Members
Properties
| Property | Description |
|---|---|
| byteLength | Input or output byte count, when known. |
| canceled | The canceled value of FileOperationFailedEvent. |
| code | The code value of FileOperationFailedEvent. |
| message | The message value of FileOperationFailedEvent. |
| operation | The operation value of FileOperationFailedEvent. |
| operationId | The operationId value of FileOperationFailedEvent. |
| streamType | The streamType value of FileOperationFailedEvent. |
Examples
Pass the FileOperationFailedEvent value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.
import type { FileOperationFailedEvent } from '@txtextcontrol/tx-sheet-control';
function inspectFileOperationFailedEventMessage(fileOperationFailedEvent: FileOperationFailedEvent) {
const value = fileOperationFailedEvent['message'];
console.log('FileOperationFailedEvent.message', value);
}