TX Sheet Control

FileOperationFailedEvent Interface

Interface

Terminal notification for a started operation that rejects. Success events are never emitted after this notification.

Package: @txtextcontrol/tx-sheet-control-server. Version: 2.0.0.

Related workbook object-model type, returned through the server control. Obtain it from its owning workbook or collection; it is not a required browser-package import.

Members

Properties

PropertyDescription
byteLengthInput or output byte count, when known.
canceledThe canceled value of FileOperationFailedEvent.
codeThe code value of FileOperationFailedEvent.
messageThe message value of FileOperationFailedEvent.
operationThe operation value of FileOperationFailedEvent.
operationIdThe operationId value of FileOperationFailedEvent.
streamTypeThe 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.

function inspectFileOperationFailedEventMessage(fileOperationFailedEvent: { message: string }) {
    const value = fileOperationFailedEvent['message'];
    console.log('FileOperationFailedEvent.message', value);
}

See Also