Skip to main content
All docs
V23.2

DeserializationSettings Methods

Name Description
DenyBinaryFormatter() static Disables BinaryFormatter deserialization in the application to address BinaryFormatter Obsoletion Strategy.
EnableSafeDeserialization() static This member is for advanced configuration. It supports the internal infrastructure, and is not intended to be used directly from your code.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
ForceDXBinaryFormatter() static
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
InvokeRestricted(Action, Predicate<DeserializationSettings.RestrictedTypeConfirmationEventArgs>) static This member is for advanced configuration. It supports the internal infrastructure, and is not intended to be used directly from your code.
InvokeRestricted(Action) static This member is for advanced configuration. It supports the internal infrastructure, and is not intended to be used directly from your code.
InvokeRestrictedIfNotAlreadyInTrustedContext(Action, Predicate<DeserializationSettings.RestrictedTypeConfirmationEventArgs>) static This member is for advanced configuration. It supports the internal infrastructure, and is not intended to be used directly from your code.
InvokeTrusted(Action) static Turns off safe deserialization for a certain section of code.
InvokeWithBinaryFormatterDenied(Action) static This member is for advanced configuration. It supports the internal infrastructure, and is not intended to be used directly from your code.
InvokeWithForcedDXBinaryFormatter(Action) static This member is for advanced configuration. It supports the internal infrastructure, and is not intended to be used directly from your code.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RegisterTrustedAssembly(Assembly) static Enables deserialization of all data types from the specified assembly.
RegisterTrustedAssembly(String) static Enables deserialization of all data types from the assembly with the specified name.
RegisterTrustedClass(String, String) static Enables deserialization of the specified data type in the specified assembly.
RegisterTrustedClass(String) static Enables deserialization of the specified data type.
RegisterTrustedClass(Type) static Enables deserialization of the specified data type.
ToString() Returns a string that represents the current object. Inherited from Object.
UnregisterTrustedAssembly(Assembly) static
UnregisterTrustedClass(Type) static
See Also