ThreadingAclExtensions.SetAccessControl Method

Definition

Overloads

SetAccessControl(EventWaitHandle, EventWaitHandleSecurity)
SetAccessControl(Mutex, MutexSecurity)
SetAccessControl(Semaphore, SemaphoreSecurity)

SetAccessControl(EventWaitHandle, EventWaitHandleSecurity)

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

eventSecurity
EventWaitHandleSecurity

SetAccessControl(Mutex, MutexSecurity)

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

Parameters

mutex
Mutex
mutexSecurity
MutexSecurity

SetAccessControl(Semaphore, SemaphoreSecurity)

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

Parameters

semaphore
Semaphore
semaphoreSecurity
SemaphoreSecurity

Applies to