ObjectSecurity<T> Constructors
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Hiermee maakt u een nieuw exemplaar van het object ObjectSecurity'1 met behulp van de opgegeven waarden.
Overloads
| Name | Description |
|---|---|
| ObjectSecurity<T>(Boolean, ResourceType) |
Initialiseert een nieuw exemplaar van de klasse ObjectSecurity'1. |
| ObjectSecurity<T>(Boolean, ResourceType, SafeHandle, AccessControlSections) |
Initialiseert een nieuw exemplaar van de klasse ObjectSecurity'1. |
| ObjectSecurity<T>(Boolean, ResourceType, String, AccessControlSections) |
Initialiseert een nieuw exemplaar van de klasse ObjectSecurity'1. |
| ObjectSecurity<T>(Boolean, ResourceType, SafeHandle, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object) |
Initialiseert een nieuw exemplaar van de klasse ObjectSecurity'1. |
| ObjectSecurity<T>(Boolean, ResourceType, String, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object) |
Initialiseert een nieuw exemplaar van de klasse ObjectSecurity'1. |
ObjectSecurity<T>(Boolean, ResourceType)
- Bron:
- ObjectSecurityT.cs
Initialiseert een nieuw exemplaar van de klasse 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)
Parameters
- isContainer
- Boolean
true als het nieuwe ObjectSecurity<T> object een containerobject is.
- resourceType
- ResourceType
Het type resource.
Van toepassing op
ObjectSecurity<T>(Boolean, ResourceType, SafeHandle, AccessControlSections)
- Bron:
- ObjectSecurityT.cs
Initialiseert een nieuw exemplaar van de klasse 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)
Parameters
- isContainer
- Boolean
true als het nieuwe ObjectSecurity<T> object een containerobject is.
- resourceType
- ResourceType
Het type resource.
- safeHandle
- SafeHandle
Een handvat.
- includeSections
- AccessControlSections
De secties die moeten worden opgenomen.
Van toepassing op
ObjectSecurity<T>(Boolean, ResourceType, String, AccessControlSections)
- Bron:
- ObjectSecurityT.cs
Initialiseert een nieuw exemplaar van de klasse 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)
Parameters
- isContainer
- Boolean
true als het nieuwe ObjectSecurity<T> object een containerobject is.
- resourceType
- ResourceType
Het type resource.
- name
- String
De naam van het beveiligbare object waaraan het nieuwe ObjectSecurity<T> object is gekoppeld.
- includeSections
- AccessControlSections
De secties die moeten worden opgenomen.
Van toepassing op
ObjectSecurity<T>(Boolean, ResourceType, SafeHandle, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object)
- Bron:
- ObjectSecurityT.cs
Initialiseert een nieuw exemplaar van de klasse 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)
Parameters
- isContainer
- Boolean
true als het nieuwe ObjectSecurity<T> object een containerobject is.
- resourceType
- ResourceType
Het type resource.
- safeHandle
- SafeHandle
Een handvat.
- includeSections
- AccessControlSections
De secties die moeten worden opgenomen.
- exceptionFromErrorCode
- NativeObjectSecurity.ExceptionFromErrorCode
Een gemachtigde die is geïmplementeerd door integrators die aangepaste uitzonderingen biedt.
- exceptionContext
- Object
Een object met contextuele informatie over de bron of bestemming van de uitzondering.
Van toepassing op
ObjectSecurity<T>(Boolean, ResourceType, String, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object)
- Bron:
- ObjectSecurityT.cs
Initialiseert een nieuw exemplaar van de klasse 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)
Parameters
- isContainer
- Boolean
true als het nieuwe ObjectSecurity<T> object een containerobject is.
- resourceType
- ResourceType
Het type resource.
- name
- String
De naam van het beveiligbare object waaraan het nieuwe ObjectSecurity<T> object is gekoppeld.
- includeSections
- AccessControlSections
De secties die moeten worden opgenomen.
- exceptionFromErrorCode
- NativeObjectSecurity.ExceptionFromErrorCode
Een gemachtigde die is geïmplementeerd door integrators die aangepaste uitzonderingen biedt.
- exceptionContext
- Object
Een object met contextuele informatie over de bron of bestemming van de uitzondering.