ObjectSecurity<T> Konstruktoren

Definition

Erstellt eine neue Instanz des ObjectSecurity'1 -Objekts mit den angegebenen Werten.

Überlädt

Name Beschreibung
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 es sich bei dem neuen ObjectSecurity<T> Objekt um ein Containerobjekt handelt.

resourceType
ResourceType

Der Typ der Ressource.

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);
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 es sich bei dem neuen ObjectSecurity<T> Objekt um ein Containerobjekt handelt.

resourceType
ResourceType

Der Typ der Ressource.

safeHandle
SafeHandle

Ein Handle.

includeSections
AccessControlSections

Die einzuschließden 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);
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 es sich bei dem neuen ObjectSecurity<T> Objekt um ein Containerobjekt handelt.

resourceType
ResourceType

Der Typ der Ressource.

name
String

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

includeSections
AccessControlSections

Die einzuschließden 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);
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 es sich bei dem neuen ObjectSecurity<T> Objekt um ein Containerobjekt handelt.

resourceType
ResourceType

Der Typ der Ressource.

safeHandle
SafeHandle

Ein Handle.

includeSections
AccessControlSections

Die einzuschließden Abschnitte.

exceptionFromErrorCode
NativeObjectSecurity.ExceptionFromErrorCode

Eine Stellvertretung, die von Integratoren implementiert wird, die 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);
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 es sich bei dem neuen ObjectSecurity<T> Objekt um ein Containerobjekt handelt.

resourceType
ResourceType

Der Typ der Ressource.

name
String

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

includeSections
AccessControlSections

Die einzuschließden Abschnitte.

exceptionFromErrorCode
NativeObjectSecurity.ExceptionFromErrorCode

Eine Stellvertretung, die von Integratoren implementiert wird, die benutzerdefinierte Ausnahmen bereitstellt.

exceptionContext
Object

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

Gilt für: