BinaryMessageFormatter.TopObjectFormat 属性
定义
获取或设置一个值,该值定义如何图形的顶级(根)对象如何进行与查找和加载其程序集相关的反序列化。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
属性值
定义反序列化行为的枚举值之一。One of the enumeration values that defines the deserialization behavior.
- 属性
注解
重要
使用不受信任的数据调用此类中的方法存在安全风险。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.
目前,应接受默认值 AssemblyStyle
。Currently, you should accept the default value, AssemblyStyle
.