Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCloudStorage.TErrorEvent Type

The cloud storage error event type.

#Declaration

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

#Parameters

Name Type Description
Sender TObject

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