ThreadingAclExtensions.SetAccessControl Methode
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.
Overloads
| Name | Description |
|---|---|
| SetAccessControl(EventWaitHandle, EventWaitHandleSecurity) |
Hiermee stelt u de beveiligingsdescriptors voor de opgegeven gebeurteniswachtingsgreep in. |
| SetAccessControl(Mutex, MutexSecurity) |
Hiermee stelt u de beveiligingsdescriptors voor de opgegeven mutex in. |
| SetAccessControl(Semaphore, SemaphoreSecurity) |
Hiermee stelt u de beveiligingsdescriptors voor de opgegeven semaphore in. |
SetAccessControl(EventWaitHandle, EventWaitHandleSecurity)
Hiermee stelt u de beveiligingsdescriptors voor de opgegeven gebeurteniswachtingsgreep in.
public:
[System::Runtime::CompilerServices::Extension]
static void SetAccessControl(System::Threading::EventWaitHandle ^ handle, System::Security::AccessControl::EventWaitHandleSecurity ^ eventSecurity);
public static void SetAccessControl(this System.Threading.EventWaitHandle handle, System.Security.AccessControl.EventWaitHandleSecurity eventSecurity);
static member SetAccessControl : System.Threading.EventWaitHandle * System.Security.AccessControl.EventWaitHandleSecurity -> unit
<Extension()>
Public Sub SetAccessControl (handle As EventWaitHandle, eventSecurity As EventWaitHandleSecurity)
Parameters
- handle
- EventWaitHandle
De gebeurtenis wachtgreep waarop de eventSecurity toepassing wordt toegepast.
- eventSecurity
- EventWaitHandleSecurity
De beveiligingsdescriptors die moeten worden toegepast op de opgegeven handle.
Uitzonderingen
eventSecurity is null.
Van toepassing op
SetAccessControl(Mutex, MutexSecurity)
Hiermee stelt u de beveiligingsdescriptors voor de opgegeven mutex in.
public:
[System::Runtime::CompilerServices::Extension]
static void SetAccessControl(System::Threading::Mutex ^ mutex, System::Security::AccessControl::MutexSecurity ^ mutexSecurity);
public static void SetAccessControl(this System.Threading.Mutex mutex, System.Security.AccessControl.MutexSecurity mutexSecurity);
static member SetAccessControl : System.Threading.Mutex * System.Security.AccessControl.MutexSecurity -> unit
<Extension()>
Public Sub SetAccessControl (mutex As Mutex, mutexSecurity As MutexSecurity)
Parameters
- mutex
- Mutex
De mutex waarop de mutexSecurity mutex wordt toegepast.
- mutexSecurity
- MutexSecurity
De beveiligingsdescriptors die moeten worden toegepast op de opgegeven mutex.
Uitzonderingen
mutexSecurity is null.
Van toepassing op
SetAccessControl(Semaphore, SemaphoreSecurity)
Hiermee stelt u de beveiligingsdescriptors voor de opgegeven semaphore in.
public:
[System::Runtime::CompilerServices::Extension]
static void SetAccessControl(System::Threading::Semaphore ^ semaphore, System::Security::AccessControl::SemaphoreSecurity ^ semaphoreSecurity);
public static void SetAccessControl(this System.Threading.Semaphore semaphore, System.Security.AccessControl.SemaphoreSecurity semaphoreSecurity);
static member SetAccessControl : System.Threading.Semaphore * System.Security.AccessControl.SemaphoreSecurity -> unit
<Extension()>
Public Sub SetAccessControl (semaphore As Semaphore, semaphoreSecurity As SemaphoreSecurity)
Parameters
- semaphore
- Semaphore
Deemafore waarop de semaphoreSecurity zal worden toegepast.
- semaphoreSecurity
- SemaphoreSecurity
De beveiligingsdescriptors die moeten worden toegepast op de opgegeven semaphore.
Uitzonderingen
semaphoreSecurity is null.