BinaryMessageFormatter.TopObjectFormat 屬性

定義

取得或設定一個值,定義圖的頂端(根)物件如何被反序列化,以尋找並載入其組合語言。

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

屬性值

定義反序列化行為的列舉值之一。

屬性

備註

Important

從這個類別使用不受信任的數據呼叫方法構成安全性風險。 僅使用信任的數據呼叫來自這個類別的方法。 如需詳細資訊,請參閱 驗證所有輸入

目前,你應該接受預設值 AssemblyStyle

適用於

另請參閱