NativeObjectSecurity コンストラクター

定義

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

オーバーロード

NativeObjectSecurity(Boolean, ResourceType)

値を指定して、NativeObjectSecurity クラスの新しいインスタンスを初期化します。

NativeObjectSecurity(Boolean, ResourceType, SafeHandle, AccessControlSections)

値を指定して、NativeObjectSecurity クラスの新しいインスタンスを初期化します。 コンストラクターと persist メソッドに渡される includeSections パラメーターの値を同一にすることをお勧めします。

NativeObjectSecurity(Boolean, ResourceType, NativeObjectSecurity+ExceptionFromErrorCode, Object)

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

NativeObjectSecurity(Boolean, ResourceType, String, AccessControlSections)

値を指定して、NativeObjectSecurity クラスの新しいインスタンスを初期化します。 コンストラクターと persist メソッドに渡される includeSections パラメーターの値を同一にすることをお勧めします。

NativeObjectSecurity(Boolean, ResourceType, SafeHandle, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object)

値を指定して、NativeObjectSecurity クラスの新しいインスタンスを初期化します。 コンストラクターと persist メソッドに渡される includeSections パラメーターの値を同一にすることをお勧めします。

NativeObjectSecurity(Boolean, ResourceType, String, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object)

値を指定して、NativeObjectSecurity クラスの新しいインスタンスを初期化します。 コンストラクターと persist メソッドに渡される includeSections パラメーターの値を同一にすることをお勧めします。

NativeObjectSecurity(Boolean, ResourceType)

値を指定して、NativeObjectSecurity クラスの新しいインスタンスを初期化します。

protected:
 NativeObjectSecurity(bool isContainer, System::Security::AccessControl::ResourceType resourceType);
protected NativeObjectSecurity (bool isContainer, System.Security.AccessControl.ResourceType resourceType);
new System.Security.AccessControl.NativeObjectSecurity : bool * System.Security.AccessControl.ResourceType -> System.Security.AccessControl.NativeObjectSecurity
Protected Sub New (isContainer As Boolean, resourceType As ResourceType)

パラメーター

isContainer
Boolean

新しいtrue オブジェクトがコンテナー オブジェクトである場合は NativeObjectSecurity

resourceType
ResourceType

新しい NativeObjectSecurity オブジェクトが関連付けられる、セキュリティ保護可能なオブジェクトの型。

適用対象

NativeObjectSecurity(Boolean, ResourceType, SafeHandle, AccessControlSections)

値を指定して、NativeObjectSecurity クラスの新しいインスタンスを初期化します。 コンストラクターと persist メソッドに渡される includeSections パラメーターの値を同一にすることをお勧めします。

protected:
 NativeObjectSecurity(bool isContainer, System::Security::AccessControl::ResourceType resourceType, System::Runtime::InteropServices::SafeHandle ^ handle, System::Security::AccessControl::AccessControlSections includeSections);
protected NativeObjectSecurity (bool isContainer, System.Security.AccessControl.ResourceType resourceType, System.Runtime.InteropServices.SafeHandle handle, System.Security.AccessControl.AccessControlSections includeSections);
protected NativeObjectSecurity (bool isContainer, System.Security.AccessControl.ResourceType resourceType, System.Runtime.InteropServices.SafeHandle? handle, System.Security.AccessControl.AccessControlSections includeSections);
new System.Security.AccessControl.NativeObjectSecurity : bool * System.Security.AccessControl.ResourceType * System.Runtime.InteropServices.SafeHandle * System.Security.AccessControl.AccessControlSections -> System.Security.AccessControl.NativeObjectSecurity
Protected Sub New (isContainer As Boolean, resourceType As ResourceType, handle As SafeHandle, includeSections As AccessControlSections)

パラメーター

isContainer
Boolean

新しいtrue オブジェクトがコンテナー オブジェクトである場合は NativeObjectSecurity

resourceType
ResourceType

新しい NativeObjectSecurity オブジェクトが関連付けられる、セキュリティ保護可能なオブジェクトの型。

handle
SafeHandle

新しい NativeObjectSecurity オブジェクトが関連付けられる、セキュリティ保護可能なオブジェクトのハンドル。

includeSections
AccessControlSections

この NativeObjectSecurity オブジェクトに含める、セキュリティ保護可能なオブジェクトのセキュリティ記述子のセクション (アクセス規則、監査規則、所有者、プライマリ グループ) を指定する AccessControlSections 列挙値の 1 つ。

注釈

オブジェクトを永続化するときにNativeObjectSecurity、 メソッドにPersist渡されるパラメーターのincludeSections値がそのオブジェクトの作成NativeObjectSecurityに使用されるコンストラクターに渡されるパラメーターのincludeSections値と同じでない場合、永続化されたオブジェクトのセクションに予測できない値がNativeObjectSecurity含まれる可能性があります。 たとえば、コンストラクターが の値をincludeSections使用して呼び出され、後PersistでそのオブジェクトincludeSectionsに対して 値 Allが のメソッドが呼び出された場合、結果の永続化されたNativeObjectSecurityオブジェクトには、その監査ルール、グループ、所有者に対して予測できない値が含Accessまれます。

適用対象

NativeObjectSecurity(Boolean, ResourceType, NativeObjectSecurity+ExceptionFromErrorCode, Object)

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

protected:
 NativeObjectSecurity(bool isContainer, System::Security::AccessControl::ResourceType resourceType, System::Security::AccessControl::NativeObjectSecurity::ExceptionFromErrorCode ^ exceptionFromErrorCode, System::Object ^ exceptionContext);
protected NativeObjectSecurity (bool isContainer, System.Security.AccessControl.ResourceType resourceType, System.Security.AccessControl.NativeObjectSecurity.ExceptionFromErrorCode exceptionFromErrorCode, object exceptionContext);
protected NativeObjectSecurity (bool isContainer, System.Security.AccessControl.ResourceType resourceType, System.Security.AccessControl.NativeObjectSecurity.ExceptionFromErrorCode? exceptionFromErrorCode, object? exceptionContext);
new System.Security.AccessControl.NativeObjectSecurity : bool * System.Security.AccessControl.ResourceType * System.Security.AccessControl.NativeObjectSecurity.ExceptionFromErrorCode * obj -> System.Security.AccessControl.NativeObjectSecurity
Protected Sub New (isContainer As Boolean, resourceType As ResourceType, exceptionFromErrorCode As NativeObjectSecurity.ExceptionFromErrorCode, exceptionContext As Object)

パラメーター

isContainer
Boolean

新しいtrue オブジェクトがコンテナー オブジェクトである場合は NativeObjectSecurity

resourceType
ResourceType

新しい NativeObjectSecurity オブジェクトが関連付けられる、セキュリティ保護可能なオブジェクトの型。

exceptionFromErrorCode
NativeObjectSecurity.ExceptionFromErrorCode

カスタム例外を提供するインテグレーターによって実装されるデリゲート。

exceptionContext
Object

例外のソースまたは宛先に関するコンテキスト情報を格納するオブジェクト。

適用対象

NativeObjectSecurity(Boolean, ResourceType, String, AccessControlSections)

値を指定して、NativeObjectSecurity クラスの新しいインスタンスを初期化します。 コンストラクターと persist メソッドに渡される includeSections パラメーターの値を同一にすることをお勧めします。

protected:
 NativeObjectSecurity(bool isContainer, System::Security::AccessControl::ResourceType resourceType, System::String ^ name, System::Security::AccessControl::AccessControlSections includeSections);
protected NativeObjectSecurity (bool isContainer, System.Security.AccessControl.ResourceType resourceType, string name, System.Security.AccessControl.AccessControlSections includeSections);
protected NativeObjectSecurity (bool isContainer, System.Security.AccessControl.ResourceType resourceType, string? name, System.Security.AccessControl.AccessControlSections includeSections);
new System.Security.AccessControl.NativeObjectSecurity : bool * System.Security.AccessControl.ResourceType * string * System.Security.AccessControl.AccessControlSections -> System.Security.AccessControl.NativeObjectSecurity
Protected Sub New (isContainer As Boolean, resourceType As ResourceType, name As String, includeSections As AccessControlSections)

パラメーター

isContainer
Boolean

新しいtrue オブジェクトがコンテナー オブジェクトである場合は NativeObjectSecurity

resourceType
ResourceType

新しい NativeObjectSecurity オブジェクトが関連付けられる、セキュリティ保護可能なオブジェクトの型。

name
String

新しい NativeObjectSecurity オブジェクトが関連付けられる、セキュリティ保護可能なオブジェクトの名前。

includeSections
AccessControlSections

この NativeObjectSecurity オブジェクトに含める、セキュリティ保護可能なオブジェクトのセキュリティ記述子のセクション (アクセス規則、監査規則、所有者、プライマリ グループ) を指定する AccessControlSections 列挙値の 1 つ。

注釈

オブジェクトを永続化するときにNativeObjectSecurity、 メソッドにPersist渡されるパラメーターのincludeSections値がそのオブジェクトの作成NativeObjectSecurityに使用されるコンストラクターに渡されるパラメーターのincludeSections値と同じでない場合、永続化されたオブジェクトのセクションに予測できない値がNativeObjectSecurity含まれる可能性があります。 たとえば、コンストラクターが の値をincludeSections使用して呼び出され、後PersistでそのオブジェクトincludeSectionsに対して 値 Allが のメソッドが呼び出された場合、結果の永続化されたNativeObjectSecurityオブジェクトには、その監査ルール、グループ、所有者に対して予測できない値が含Accessまれます。

適用対象

NativeObjectSecurity(Boolean, ResourceType, SafeHandle, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object)

値を指定して、NativeObjectSecurity クラスの新しいインスタンスを初期化します。 コンストラクターと persist メソッドに渡される includeSections パラメーターの値を同一にすることをお勧めします。

protected:
 NativeObjectSecurity(bool isContainer, System::Security::AccessControl::ResourceType resourceType, System::Runtime::InteropServices::SafeHandle ^ handle, System::Security::AccessControl::AccessControlSections includeSections, System::Security::AccessControl::NativeObjectSecurity::ExceptionFromErrorCode ^ exceptionFromErrorCode, System::Object ^ exceptionContext);
protected NativeObjectSecurity (bool isContainer, System.Security.AccessControl.ResourceType resourceType, System.Runtime.InteropServices.SafeHandle handle, System.Security.AccessControl.AccessControlSections includeSections, System.Security.AccessControl.NativeObjectSecurity.ExceptionFromErrorCode exceptionFromErrorCode, object exceptionContext);
protected NativeObjectSecurity (bool isContainer, System.Security.AccessControl.ResourceType resourceType, System.Runtime.InteropServices.SafeHandle? handle, System.Security.AccessControl.AccessControlSections includeSections, System.Security.AccessControl.NativeObjectSecurity.ExceptionFromErrorCode? exceptionFromErrorCode, object? exceptionContext);
new System.Security.AccessControl.NativeObjectSecurity : bool * System.Security.AccessControl.ResourceType * System.Runtime.InteropServices.SafeHandle * System.Security.AccessControl.AccessControlSections * System.Security.AccessControl.NativeObjectSecurity.ExceptionFromErrorCode * obj -> System.Security.AccessControl.NativeObjectSecurity
Protected Sub New (isContainer As Boolean, resourceType As ResourceType, handle As SafeHandle, includeSections As AccessControlSections, exceptionFromErrorCode As NativeObjectSecurity.ExceptionFromErrorCode, exceptionContext As Object)

パラメーター

isContainer
Boolean

新しいtrue オブジェクトがコンテナー オブジェクトである場合は NativeObjectSecurity

resourceType
ResourceType

新しい NativeObjectSecurity オブジェクトが関連付けられる、セキュリティ保護可能なオブジェクトの型。

handle
SafeHandle

新しい NativeObjectSecurity オブジェクトが関連付けられる、セキュリティ保護可能なオブジェクトのハンドル。

includeSections
AccessControlSections

この NativeObjectSecurity オブジェクトに含める、セキュリティ保護可能なオブジェクトのセキュリティ記述子のセクション (アクセス規則、監査規則、所有者、プライマリ グループ) を指定する AccessControlSections 列挙値の 1 つ。

exceptionFromErrorCode
NativeObjectSecurity.ExceptionFromErrorCode

カスタム例外を提供するインテグレーターによって実装されるデリゲート。

exceptionContext
Object

例外のソースまたは宛先に関するコンテキスト情報を格納するオブジェクト。

注釈

オブジェクトを永続化するときにNativeObjectSecurity、 メソッドにPersist渡されるパラメーターのincludeSections値がそのオブジェクトの作成NativeObjectSecurityに使用されるコンストラクターに渡されるパラメーターのincludeSections値と同じでない場合、永続化されたオブジェクトのセクションに予測できない値がNativeObjectSecurity含まれる可能性があります。 たとえば、コンストラクターが の値をincludeSections使用して呼び出され、後PersistでそのオブジェクトincludeSectionsに対して 値 Allが のメソッドが呼び出された場合、結果の永続化されたNativeObjectSecurityオブジェクトには、その監査ルール、グループ、所有者に対して予測できない値が含Accessまれます。

適用対象

NativeObjectSecurity(Boolean, ResourceType, String, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object)

値を指定して、NativeObjectSecurity クラスの新しいインスタンスを初期化します。 コンストラクターと persist メソッドに渡される includeSections パラメーターの値を同一にすることをお勧めします。

protected:
 NativeObjectSecurity(bool isContainer, System::Security::AccessControl::ResourceType resourceType, System::String ^ name, System::Security::AccessControl::AccessControlSections includeSections, System::Security::AccessControl::NativeObjectSecurity::ExceptionFromErrorCode ^ exceptionFromErrorCode, System::Object ^ exceptionContext);
protected NativeObjectSecurity (bool isContainer, System.Security.AccessControl.ResourceType resourceType, string name, System.Security.AccessControl.AccessControlSections includeSections, System.Security.AccessControl.NativeObjectSecurity.ExceptionFromErrorCode exceptionFromErrorCode, object exceptionContext);
protected NativeObjectSecurity (bool isContainer, System.Security.AccessControl.ResourceType resourceType, string? name, System.Security.AccessControl.AccessControlSections includeSections, System.Security.AccessControl.NativeObjectSecurity.ExceptionFromErrorCode? exceptionFromErrorCode, object? exceptionContext);
new System.Security.AccessControl.NativeObjectSecurity : bool * System.Security.AccessControl.ResourceType * string * System.Security.AccessControl.AccessControlSections * System.Security.AccessControl.NativeObjectSecurity.ExceptionFromErrorCode * obj -> System.Security.AccessControl.NativeObjectSecurity
Protected Sub New (isContainer As Boolean, resourceType As ResourceType, name As String, includeSections As AccessControlSections, exceptionFromErrorCode As NativeObjectSecurity.ExceptionFromErrorCode, exceptionContext As Object)

パラメーター

isContainer
Boolean

新しいtrue オブジェクトがコンテナー オブジェクトである場合は NativeObjectSecurity

resourceType
ResourceType

新しい NativeObjectSecurity オブジェクトが関連付けられる、セキュリティ保護可能なオブジェクトの型。

name
String

新しい NativeObjectSecurity オブジェクトが関連付けられる、セキュリティ保護可能なオブジェクトの名前。

includeSections
AccessControlSections

この NativeObjectSecurity オブジェクトに含める、セキュリティ保護可能なオブジェクトのセキュリティ記述子のセクション (アクセス規則、監査規則、所有者、プライマリ グループ) を指定する AccessControlSections 列挙値の 1 つ。

exceptionFromErrorCode
NativeObjectSecurity.ExceptionFromErrorCode

カスタム例外を提供するインテグレーターによって実装されるデリゲート。

exceptionContext
Object

例外のソースまたは宛先に関するコンテキスト情報を格納するオブジェクト。

注釈

オブジェクトを永続化するときにNativeObjectSecurity、 メソッドにPersist渡されるパラメーターのincludeSections値がそのオブジェクトの作成NativeObjectSecurityに使用されるコンストラクターに渡されるパラメーターのincludeSections値と同じでない場合、永続化されたオブジェクトのセクションに予測できない値がNativeObjectSecurity含まれる可能性があります。 たとえば、コンストラクターが の値をincludeSections使用して呼び出され、後PersistでそのオブジェクトincludeSectionsに対して 値 Allが のメソッドが呼び出された場合、結果の永続化されたNativeObjectSecurityオブジェクトには、その監査ルール、グループ、所有者に対して予測できない値が含Accessまれます。

適用対象