Skip to main content

TdxCloudStorage.OnError Event

Notifies of an error that can occur when the component attempts to access an online file storage service or perform any file operation in the connected account.

Declaration

property OnError: TErrorEvent read; write;

Remarks

Online file management operations can result in errors due to insufficient account permissions, incorrect server response, and network unavailability. The OnError event occurs every time an attempt to access or synchronize a file or folder on the target online storage fails for any reason.

You can handle this event to obtain information on any error via the AErrorObject parameter. The actual AErrorObject value type depends on the active online data provider type. Refer to the TErrorEvent nested procedural type description for details on parameters accessible within the OnError event handler.

Note

To obtain information on an error that can occur when an application attempts to authenticate or authorize in an online account, handle the associated authorization agent‘s OnError event.

See Also