BinaryMessageFormatter.TopObjectFormat BinaryMessageFormatter.TopObjectFormat BinaryMessageFormatter.TopObjectFormat 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; }
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.

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 Data Validation.

Currently, you should accept the default value, AssemblyStyle.

Applies to

See also