BinaryFormatter.FilterLevel Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the TypeFilterLevel of automatic deserialization the BinaryFormatter performs.
public:
property System::Runtime::Serialization::Formatters::TypeFilterLevel FilterLevel { System::Runtime::Serialization::Formatters::TypeFilterLevel get(); void set(System::Runtime::Serialization::Formatters::TypeFilterLevel value); };
public System.Runtime.Serialization.Formatters.TypeFilterLevel FilterLevel { get; set; }
[System.Runtime.InteropServices.ComVisible(false)]
public System.Runtime.Serialization.Formatters.TypeFilterLevel FilterLevel { get; set; }
member this.FilterLevel : System.Runtime.Serialization.Formatters.TypeFilterLevel with get, set
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.FilterLevel : System.Runtime.Serialization.Formatters.TypeFilterLevel with get, set
Public Property FilterLevel As TypeFilterLevel
Property Value
The TypeFilterLevel that represents the current automatic deserialization level.
- Attributes
Remarks
Warning
BinaryFormatter
is insecure and can't be made secure. For more information, see the BinaryFormatter security guide.
Supported values are Low and Full (the default). For details about deserialization levels, see Automatic Deserialization in .NET Framework Remoting.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om