Freigeben über


ObjectSecurity<T> Konstruktoren

Definition

Erstellt eine neue Instanz des Objekts ObjectSecurity-`1 mithilfe der angegebenen Werte.

Überlädt

ObjectSecurity<T>(Boolean, ResourceType)

Initialisiert eine neue Instanz der ObjectSecurity’1-Klasse.

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

Initialisiert eine neue Instanz der ObjectSecurity’1-Klasse.

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

Initialisiert eine neue Instanz der ObjectSecurity’1-Klasse.

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

Initialisiert eine neue Instanz der ObjectSecurity’1-Klasse.

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

Initialisiert eine neue Instanz der ObjectSecurity’1-Klasse.

ObjectSecurity<T>(Boolean, ResourceType)

Initialisiert eine neue Instanz der ObjectSecurity’1-Klasse.

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)

Parameter

isContainer
Boolean

true , wenn das neue ObjectSecurity<T> -Objekt ein Containerobjekt ist.

resourceType
ResourceType

Der Ressourcentyp.

Gilt für:

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

Initialisiert eine neue Instanz der ObjectSecurity’1-Klasse.

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)

Parameter

isContainer
Boolean

true , wenn das neue ObjectSecurity<T> -Objekt ein Containerobjekt ist.

resourceType
ResourceType

Der Ressourcentyp.

safeHandle
SafeHandle

Ein Handler.

includeSections
AccessControlSections

Die einzuschließenden Abschnitte.

Gilt für:

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

Initialisiert eine neue Instanz der ObjectSecurity’1-Klasse.

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)

Parameter

isContainer
Boolean

true , wenn das neue ObjectSecurity<T> -Objekt ein Containerobjekt ist.

resourceType
ResourceType

Der Ressourcentyp.

name
String

Der Name des sicherungsfähigen Objekts, dem das neue ObjectSecurity<T>-Objekt zugeordnet ist.

includeSections
AccessControlSections

Die einzuschließenden Abschnitte.

Gilt für:

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

Initialisiert eine neue Instanz der ObjectSecurity’1-Klasse.

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)

Parameter

isContainer
Boolean

true , wenn das neue ObjectSecurity<T> -Objekt ein Containerobjekt ist.

resourceType
ResourceType

Der Ressourcentyp.

safeHandle
SafeHandle

Ein Handler.

includeSections
AccessControlSections

Die einzuschließenden Abschnitte.

exceptionFromErrorCode
NativeObjectSecurity.ExceptionFromErrorCode

Ein von Integratoren implementierter Delegat, der benutzerdefinierte Ausnahmen bereitstellt.

exceptionContext
Object

Ein Objekt, das Kontextinformationen zur Quelle oder zum Ziel der Ausnahme enthält.

Gilt für:

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

Initialisiert eine neue Instanz der ObjectSecurity’1-Klasse.

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)

Parameter

isContainer
Boolean

true , wenn das neue ObjectSecurity<T> -Objekt ein Containerobjekt ist.

resourceType
ResourceType

Der Ressourcentyp.

name
String

Der Name des sicherungsfähigen Objekts, dem das neue ObjectSecurity<T>-Objekt zugeordnet ist.

includeSections
AccessControlSections

Die einzuschließenden Abschnitte.

exceptionFromErrorCode
NativeObjectSecurity.ExceptionFromErrorCode

Ein von Integratoren implementierter Delegat, der benutzerdefinierte Ausnahmen bereitstellt.

exceptionContext
Object

Ein Objekt, das Kontextinformationen zur Quelle oder zum Ziel der Ausnahme enthält.

Gilt für: