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
.