次の方法で共有


SynchronizationAttribute.REQUIRES_NEW フィールド

この属性を適用したクラスを、同期プロパティの新しいインスタンスを使用して、コンテキスト内で毎回作成する必要があることを示します。このフィールドは定数です。

Public Const REQUIRES_NEW As Integer
[C#]
public const int REQUIRES_NEW;
[C++]
public: const int REQUIRES_NEW;
[JScript]
public var REQUIRES_NEW : int;

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

SynchronizationAttribute クラス | SynchronizationAttribute メンバ | System.Runtime.Remoting.Contexts 名前空間