Uredi

Deli z drugimi prek


BinaryFormatter.AssemblyFormat Property

Definition

Gets or sets the behavior of the deserializer with regards to finding and loading assemblies.

public:
 property System::Runtime::Serialization::Formatters::FormatterAssemblyStyle AssemblyFormat { System::Runtime::Serialization::Formatters::FormatterAssemblyStyle get(); void set(System::Runtime::Serialization::Formatters::FormatterAssemblyStyle value); };
public System.Runtime.Serialization.Formatters.FormatterAssemblyStyle AssemblyFormat { get; set; }
member this.AssemblyFormat : System.Runtime.Serialization.Formatters.FormatterAssemblyStyle with get, set
Public Property AssemblyFormat As FormatterAssemblyStyle

Property Value

One of the FormatterAssemblyStyle values that specifies the deserializer behavior.

Remarks

Warning

BinaryFormatter is insecure and can't be made secure. For more information, see the BinaryFormatter security guide.

Applies to

See also