Back to Devexpress

TdxCloudStorage.TErrorEvent Type

vcl-dxcloudstorage-dot-tdxcloudstorage-aa10b6da.md

latest2.0 KB
Original Source

TdxCloudStorage.TErrorEvent Type

The cloud storage error event type.

Declaration

delphi
TErrorEvent = procedure(Sender: TObject; AErrorObject: TObject) of object;

Parameters

NameTypeDescription
SenderTObject

The cloud storage component where an online file operation error has occurred.

| | AErrorObject | TObject |

A container populated with error information.

|

Remarks

Use the Sender parameter to access the cloud storage component where an online file operation has occurred. To access all public API members within a TErrorEvent event handler, cast the parameter value to the TdxCloudStorage class.

The AErrorObject parameter returns a data structure populated with information on an occurred error. Cast the parameter value to the actual error type to access the error information. For instance, AErrorObject returns a TdxJSONObject object populated with information on an occurred error (such as an invalid server response, an absent access permission, etc.) for Google Drive and Microsoft OneDrive data providers.

Direct TdxCloudStorage.OnError Type Reference

The TdxCloudStorage.OnError event references the TErrorEvent nested procedural type.

See Also

TdxCustomAuthorizationAgent.TErrorEvent Procedural Type

TcxSchedulerWebServiceStorage.TProviderErrorEvent Procedural Type

dxCloudStorage Unit