TdxCloudStorage.OnChanged Event
Notifies that the cloud storage component’s data provider or its authorization agent has changed.
Declaration
property OnChanged: TNotifyEvent read; write;
Remarks
This event occurs every time the cloud storage creates, recreates, or destroys its data provider in response to the ProviderClassName or ProviderClass property value changes. Additionally, this event occurs every time the active data provider’s AuthorizationAgent property value changes (that is, when an authorization agent is associated with the data provider or disconnected from it). You can handle the OnChanged event to perform specific actions in response to changing the active data provider and/or authorization agent (such as performing the data provider and/or authorization agent configuration according to the target account’s type and settings).
Use the Sender parameter to access the cloud storage that raised the event. To access the storage’s all class-specific members within an OnChanged event handler, cast the parameter value to the TdxCloudStorage class.