Partager via


ObjectSecurity<T> Constructeurs

Définition

Crée une instance de l'objet ObjectSecurity`1 avec les valeurs spécifiées.

Surcharges

ObjectSecurity<T>(Boolean, ResourceType)

Initialise une nouvelle instance de la classe ObjectSecurity`1.

ObjectSecurity<T>(Boolean, ResourceType, SafeHandle, AccessControlSections)

Initialise une nouvelle instance de la classe ObjectSecurity`1.

ObjectSecurity<T>(Boolean, ResourceType, String, AccessControlSections)

Initialise une nouvelle instance de la classe ObjectSecurity`1.

ObjectSecurity<T>(Boolean, ResourceType, SafeHandle, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object)

Initialise une nouvelle instance de la classe ObjectSecurity`1.

ObjectSecurity<T>(Boolean, ResourceType, String, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object)

Initialise une nouvelle instance de la classe ObjectSecurity`1.

ObjectSecurity<T>(Boolean, ResourceType)

Initialise une nouvelle instance de la classe ObjectSecurity`1.

protected:
 ObjectSecurity(bool isContainer, System::Security::AccessControl::ResourceType resourceType);
protected ObjectSecurity (bool isContainer, System.Security.AccessControl.ResourceType resourceType);
new System.Security.AccessControl.ObjectSecurity<'T (requires 'T : struct)> : bool * System.Security.AccessControl.ResourceType -> System.Security.AccessControl.ObjectSecurity<'T (requires 'T : struct)>
Protected Sub New (isContainer As Boolean, resourceType As ResourceType)

Paramètres

isContainer
Boolean

true si le nouvel objet ObjectSecurity<T> est un objet conteneur.

resourceType
ResourceType

Type de ressource.

S’applique à

ObjectSecurity<T>(Boolean, ResourceType, SafeHandle, AccessControlSections)

Initialise une nouvelle instance de la classe ObjectSecurity`1.

protected:
 ObjectSecurity(bool isContainer, System::Security::AccessControl::ResourceType resourceType, System::Runtime::InteropServices::SafeHandle ^ safeHandle, System::Security::AccessControl::AccessControlSections includeSections);
protected ObjectSecurity (bool isContainer, System.Security.AccessControl.ResourceType resourceType, System.Runtime.InteropServices.SafeHandle? safeHandle, System.Security.AccessControl.AccessControlSections includeSections);
protected ObjectSecurity (bool isContainer, System.Security.AccessControl.ResourceType resourceType, System.Runtime.InteropServices.SafeHandle safeHandle, System.Security.AccessControl.AccessControlSections includeSections);
new System.Security.AccessControl.ObjectSecurity<'T (requires 'T : struct)> : bool * System.Security.AccessControl.ResourceType * System.Runtime.InteropServices.SafeHandle * System.Security.AccessControl.AccessControlSections -> System.Security.AccessControl.ObjectSecurity<'T (requires 'T : struct)>
Protected Sub New (isContainer As Boolean, resourceType As ResourceType, safeHandle As SafeHandle, includeSections As AccessControlSections)

Paramètres

isContainer
Boolean

true si le nouvel objet ObjectSecurity<T> est un objet conteneur.

resourceType
ResourceType

Type de ressource.

safeHandle
SafeHandle

Handle.

includeSections
AccessControlSections

Sections à inclure.

S’applique à

ObjectSecurity<T>(Boolean, ResourceType, String, AccessControlSections)

Initialise une nouvelle instance de la classe ObjectSecurity`1.

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

Paramètres

isContainer
Boolean

true si le nouvel objet ObjectSecurity<T> est un objet conteneur.

resourceType
ResourceType

Type de ressource.

name
String

Nom de l’objet sécurisable auquel est associé le nouvel objet ObjectSecurity<T>.

includeSections
AccessControlSections

Sections à inclure.

S’applique à

ObjectSecurity<T>(Boolean, ResourceType, SafeHandle, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object)

Initialise une nouvelle instance de la classe ObjectSecurity`1.

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

Paramètres

isContainer
Boolean

true si le nouvel objet ObjectSecurity<T> est un objet conteneur.

resourceType
ResourceType

Type de ressource.

safeHandle
SafeHandle

Handle.

includeSections
AccessControlSections

Sections à inclure.

exceptionFromErrorCode
NativeObjectSecurity.ExceptionFromErrorCode

Délégué implémenté par des intégrateurs qui fournit des exceptions personnalisées.

exceptionContext
Object

Objet qui contient des informations contextuelles sur la source ou la destination de l’exception.

S’applique à

ObjectSecurity<T>(Boolean, ResourceType, String, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object)

Initialise une nouvelle instance de la classe ObjectSecurity`1.

protected:
 ObjectSecurity(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 ObjectSecurity (bool isContainer, System.Security.AccessControl.ResourceType resourceType, string? name, System.Security.AccessControl.AccessControlSections includeSections, System.Security.AccessControl.NativeObjectSecurity.ExceptionFromErrorCode? exceptionFromErrorCode, object? exceptionContext);
protected ObjectSecurity (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.ObjectSecurity<'T (requires 'T : struct)> : bool * System.Security.AccessControl.ResourceType * string * System.Security.AccessControl.AccessControlSections * System.Security.AccessControl.NativeObjectSecurity.ExceptionFromErrorCode * obj -> System.Security.AccessControl.ObjectSecurity<'T (requires 'T : struct)>
Protected Sub New (isContainer As Boolean, resourceType As ResourceType, name As String, includeSections As AccessControlSections, exceptionFromErrorCode As NativeObjectSecurity.ExceptionFromErrorCode, exceptionContext As Object)

Paramètres

isContainer
Boolean

true si le nouvel objet ObjectSecurity<T> est un objet conteneur.

resourceType
ResourceType

Type de ressource.

name
String

Nom de l’objet sécurisable auquel est associé le nouvel objet ObjectSecurity<T>.

includeSections
AccessControlSections

Sections à inclure.

exceptionFromErrorCode
NativeObjectSecurity.ExceptionFromErrorCode

Délégué implémenté par des intégrateurs qui fournit des exceptions personnalisées.

exceptionContext
Object

Objet qui contient des informations contextuelles sur la source ou la destination de l’exception.

S’applique à