BinaryMessageFormatter コンストラクター

定義

BinaryMessageFormatter クラスの新しいインスタンスを初期化します。

オーバーロード

BinaryMessageFormatter()

型スタイルまたはトップ オブジェクト アセンブリのスタイルを指定せずに、BinaryMessageFormatter クラスの新しいインスタンスを初期化します。

BinaryMessageFormatter(FormatterAssemblyStyle, FormatterTypeStyle)

BinaryMessageFormatter クラスの新しいインスタンスを初期化し、ルート オブジェクトと型の記述の形式を指定します。

注釈

重要

このクラスのメソッドを信頼されていないデータを指定して呼び出すことには、セキュリティ上のリスクが伴います。 このクラスのメソッドの呼び出しは、信頼されたデータだけを指定して実行してください。 詳細については、「 すべての入力を検証する」を参照してください。

BinaryMessageFormatter()

型スタイルまたはトップ オブジェクト アセンブリのスタイルを指定せずに、BinaryMessageFormatter クラスの新しいインスタンスを初期化します。

public:
 BinaryMessageFormatter();
public BinaryMessageFormatter ();
Public Sub New ()

注釈

クラスのインスタンスを使用してメッセージを TopObjectFormat シリアル化および送信する前に、 プロパティ (グラフ内のルート オブジェクトのレイアウト方法を定義する) と TypeFormat プロパティ (オブジェクト型の説明のレイアウト方法を定義する) の BinaryMessageFormatter 値を指定する必要があります。

適用対象

BinaryMessageFormatter(FormatterAssemblyStyle, FormatterTypeStyle)

BinaryMessageFormatter クラスの新しいインスタンスを初期化し、ルート オブジェクトと型の記述の形式を指定します。

public:
 BinaryMessageFormatter(System::Runtime::Serialization::Formatters::FormatterAssemblyStyle topObjectFormat, System::Runtime::Serialization::Formatters::FormatterTypeStyle typeFormat);
public BinaryMessageFormatter (System.Runtime.Serialization.Formatters.FormatterAssemblyStyle topObjectFormat, System.Runtime.Serialization.Formatters.FormatterTypeStyle typeFormat);
new System.Messaging.BinaryMessageFormatter : System.Runtime.Serialization.Formatters.FormatterAssemblyStyle * System.Runtime.Serialization.Formatters.FormatterTypeStyle -> System.Messaging.BinaryMessageFormatter
Public Sub New (topObjectFormat As FormatterAssemblyStyle, typeFormat As FormatterTypeStyle)

パラメーター

topObjectFormat
FormatterAssemblyStyle

シリアル化されたストリームで、グラフのトップ (ルート) オブジェクトをどのようにレイアウトするかを指定します。

typeFormat
FormatterTypeStyle

シリアル化されたストリームで、どのように型の記述をレイアウトするかを指定します。

適用対象