Skip to main content
All docs
V24.2

DeserializationSettings.InvokeRestrictedIfNotAlreadyInTrustedContext(Action, Predicate<DeserializationSettings.RestrictedTypeConfirmationEventArgs>) Method

This member is for advanced configuration. It supports the internal infrastructure, and is not intended to be used directly from your code.

Namespace: DevExpress.Utils

Assembly: DevExpress.Data.v24.2.dll

Declaration

public static void InvokeRestrictedIfNotAlreadyInTrustedContext(
    Action restrictedAction,
    Predicate<DeserializationSettings.RestrictedTypeConfirmationEventArgs> confirmOnce
)

Parameters

Name Type
restrictedAction Action
confirmOnce Predicate<DevExpress.Utils.DeserializationSettings.RestrictedTypeConfirmationEventArgs>

Remarks

Read the following topic for more information: Safe Deserialization.

See Also