TcxSchedulerWebServiceStorage.TProviderErrorEvent Type
The online event data provider error event type.
#Declaration
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 | Tcx |
The event data provider where an error has occurred. |
AError |
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.