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

プロパティ値

逆シリアル化動作を定義する列挙値の 1 つ。

属性

注釈

Important

信頼されていないデータを使用してこのクラスからメソッドを呼び出すことは、セキュリティ上のリスクです。 このクラスのメソッドは、信頼できるデータでのみ呼び出します。 詳細については、「すべての入力を検証する」を参照してください。

現時点では、既定値である AssemblyStyle をそのまま使用する必要があります。

適用対象

こちらもご覧ください