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

TdxCustomAuthorizationAgent.TErrorEvent Type

The authorization agent error event type.

#Declaration

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

#Parameters

Name Type Description
Sender TObject

An authorization agent that failed to authorize in an online account.

AErrorObject TObject

A container populated with error information.

#Remarks

The Sender parameter provides access to the agent that failed to authorize in an online account. To access the agent’s class members, cast the parameter value to the corresponding TdxCustomAuthorizationAgent class descendant. Call the Sender.ClassType function or use other RTTI functionality to identify the actual authorization agent type.

The AErrorObject parameter returns a data structure that contains information on an error. Cast the parameter to the actual error object type to obtain error information. The currently implemented authorization agent components return a populated TdxJSONObject object if an error occurs during an attempt to authorize an agent in an online account.

#Direct TdxCustomAuthorizationAgent.TErrorEvent Type Reference

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

See Also