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

TcxSchedulerWebServiceStorage.TProviderErrorEvent Type

The online event data provider error event type.

#Declaration

Delphi
TProviderErrorEvent = procedure(Sender: TObject; AProvider: TcxSchedulerWebServiceStorageCustomProvider; AErrorObject: TObject) of object;

#Parameters

Name Type Description
Sender TObject

The web service persistence manager where an error has occurred.

AProvider TcxSchedulerWebServiceStorageCustomProvider

The event data provider where an error has occurred.

AErrorObject TObject

A container populated with error information.

#Remarks

The Sender parameter provides access to the web service persistence manager that uses the online event data provider where an error has occurred. To access all public API members of the component, cast the parameter value to the TcxSchedulerWebServiceStorage class.

The AProvider parameter provides access to the event data provider where an error has occurred. To access all public API members of the component, cast the parameter value to its actual class (TcxSchedulerWebServiceStorageOfficeProvider, for instance).

The AErrorObject parameter returns a data structure that contains information on an occurred error. Cast the parameter value to the actual error class to obtain error information. The currently supported online event data providers return a populated TdxJSONObject object if an error occurs (such as an incorrect server response, no permissions for the requested operation, etc.)

#Direct TcxSchedulerWebServiceStorage.TProviderErrorEvent Type Reference

The TcxSchedulerWebServiceStorage.OnProviderError event references the TProviderErrorEvent nested procedural type.

See Also