SemaphoreSecurity コンストラクター

定義

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

オーバーロード

名前 説明
SemaphoreSecurity()

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

SemaphoreSecurity(String, AccessControlSections)

SemaphoreSecurity クラスの新しいインスタンスを、指定した名前でシステム セマフォからアクセス制御セキュリティ規則の指定されたセクションで初期化します。

SemaphoreSecurity()

ソース:
SemaphoreSecurity.cs
ソース:
SemaphoreSecurity.cs
ソース:
SemaphoreSecurity.cs
ソース:
SemaphoreSecurity.cs
ソース:
SemaphoreSecurity.cs
ソース:
SemaphoreSecurity.cs

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

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

注釈

新しい SemaphoreSecurity オブジェクトは常に空の随意アクセス リスト (DACL) で始まり、すべてのユーザーのすべてのアクセスが拒否されます。

適用対象

SemaphoreSecurity(String, AccessControlSections)

ソース:
SemaphoreSecurity.cs
ソース:
SemaphoreSecurity.cs
ソース:
SemaphoreSecurity.cs
ソース:
SemaphoreSecurity.cs
ソース:
SemaphoreSecurity.cs
ソース:
SemaphoreSecurity.cs

SemaphoreSecurity クラスの新しいインスタンスを、指定した名前でシステム セマフォからアクセス制御セキュリティ規則の指定されたセクションで初期化します。

public:
 SemaphoreSecurity(System::String ^ name, System::Security::AccessControl::AccessControlSections includeSections);
public SemaphoreSecurity(string name, System.Security.AccessControl.AccessControlSections includeSections);
new System.Security.AccessControl.SemaphoreSecurity : string * System.Security.AccessControl.AccessControlSections -> System.Security.AccessControl.SemaphoreSecurity
Public Sub New (name As String, includeSections As AccessControlSections)

パラメーター

name
String

アクセス制御セキュリティ規則を取得するシステム セマフォの名前。

includeSections
AccessControlSections

取得するセクションを指定する AccessControlSections フラグの組み合わせ。

注釈

このコンストラクターを使用すると、最初に Semaphore オブジェクトを作成せずに、名前付きシステム セマフォのアクセス制御セキュリティを取得できます。

名前付きシステム オブジェクトを使用する場合は注意が必要です。 セマフォではない name という名前のシステム オブジェクトがある場合は、その制御アクセス セキュリティが取得される可能性があります。

適用対象