Language

SynchronizationAttribute コンストラクター

定義

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

オーバーロード

名前 説明
SynchronizationAttribute()

既定値を使用して、 SynchronizationAttribute クラスの新しいインスタンスを初期化します。

SynchronizationAttribute(Boolean)

再入が必要かどうかを示すブール値を使用して、 SynchronizationAttribute クラスの新しいインスタンスを初期化します。

SynchronizationAttribute(Int32)

この属性が適用されるオブジェクトの動作を示すフラグを使用して、 SynchronizationAttribute クラスの新しいインスタンスを初期化します。

SynchronizationAttribute(Int32, Boolean)

この属性が適用されるオブジェクトの動作を示すフラグと、再入が必要かどうかを示すブール値を使用して、 SynchronizationAttribute クラスの新しいインスタンスを初期化します。

SynchronizationAttribute()

既定値を使用して、 SynchronizationAttribute クラスの新しいインスタンスを初期化します。

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

適用対象

SynchronizationAttribute(Boolean)

再入が必要かどうかを示すブール値を使用して、 SynchronizationAttribute クラスの新しいインスタンスを初期化します。

public:
 SynchronizationAttribute(bool reEntrant);
public SynchronizationAttribute(bool reEntrant);
new System.Runtime.Remoting.Contexts.SynchronizationAttribute : bool -> System.Runtime.Remoting.Contexts.SynchronizationAttribute
Public Sub New (reEntrant As Boolean)

パラメーター

reEntrant
Boolean

再入が必要かどうかを示すブール値。

注釈

再入が必要な場合は、現在の属性が適用される Context の吹き出しをインターセプトしてシリアル化する必要があります。

適用対象

SynchronizationAttribute(Int32)

この属性が適用されるオブジェクトの動作を示すフラグを使用して、 SynchronizationAttribute クラスの新しいインスタンスを初期化します。

public:
 SynchronizationAttribute(int flag);
public SynchronizationAttribute(int flag);
new System.Runtime.Remoting.Contexts.SynchronizationAttribute : int -> System.Runtime.Remoting.Contexts.SynchronizationAttribute
Public Sub New (flag As Integer)

パラメーター

flag
Int32

この属性が適用されるオブジェクトの動作を示す整数値。

例外

flag パラメーターは、定義されたフラグの 1 つではありません。

注釈

flag パラメーターは、NOT_SUPPORTED、SUPPORTED、REQUIRED、またはREQUIRES_NEWのいずれかである必要があります。

適用対象

SynchronizationAttribute(Int32, Boolean)

この属性が適用されるオブジェクトの動作を示すフラグと、再入が必要かどうかを示すブール値を使用して、 SynchronizationAttribute クラスの新しいインスタンスを初期化します。

public:
 SynchronizationAttribute(int flag, bool reEntrant);
public SynchronizationAttribute(int flag, bool reEntrant);
new System.Runtime.Remoting.Contexts.SynchronizationAttribute : int * bool -> System.Runtime.Remoting.Contexts.SynchronizationAttribute
Public Sub New (flag As Integer, reEntrant As Boolean)

パラメーター

flag
Int32

この属性が適用されるオブジェクトの動作を示す整数値。

reEntrant
Boolean

true 再入が必要で、吹き出しをインターセプトしてシリアル化する必要がある場合。それ以外の場合は false。

例外

flag パラメーターは、定義されたフラグの 1 つではありません。

注釈

flag パラメーターは、NOT_SUPPORTED、SUPPORTED、REQUIRED、またはREQUIRES_NEWのいずれかである必要があります。

適用対象