Bewerken

Delen via


BinaryMessageFormatter.TopObjectFormat Property

Definition

Gets or sets a value that defines how the top (root) object of a graph is deserialized with regards to finding and loading its assembly.

public:
 property System::Runtime::Serialization::Formatters::FormatterAssemblyStyle TopObjectFormat { System::Runtime::Serialization::Formatters::FormatterAssemblyStyle get(); void set(System::Runtime::Serialization::Formatters::FormatterAssemblyStyle value); };
[System.Messaging.MessagingDescription("MsgTopObjectFormat")]
public System.Runtime.Serialization.Formatters.FormatterAssemblyStyle TopObjectFormat { get; set; }
[<System.Messaging.MessagingDescription("MsgTopObjectFormat")>]
member this.TopObjectFormat : System.Runtime.Serialization.Formatters.FormatterAssemblyStyle with get, set
Public Property TopObjectFormat As FormatterAssemblyStyle

Property Value

One of the enumeration values that defines the deserialization behavior.

Attributes

Remarks

Important

Calling methods from this class with untrusted data is a security risk. Call the methods from this class only with trusted data. For more information, see Validate All Inputs.

Currently, you should accept the default value, AssemblyStyle.

Applies to

See also