ThreadingAclExtensions.GetAccessControl 方法

定义

重载

GetAccessControl(EventWaitHandle)

返回指定的 handle 的安全描述符。

GetAccessControl(Mutex)

返回指定的 mutex 的安全描述符。

GetAccessControl(Semaphore)

返回指定的 semaphore 的安全描述符。

GetAccessControl(EventWaitHandle)

返回指定的 handle 的安全描述符。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Security::AccessControl::EventWaitHandleSecurity ^ GetAccessControl(System::Threading::EventWaitHandle ^ handle);
public static System.Security.AccessControl.EventWaitHandleSecurity GetAccessControl (this System.Threading.EventWaitHandle handle);
static member GetAccessControl : System.Threading.EventWaitHandle -> System.Security.AccessControl.EventWaitHandleSecurity
<Extension()>
Public Function GetAccessControl (handle As EventWaitHandle) As EventWaitHandleSecurity

参数

handle
EventWaitHandle

应从中返回安全描述符的事件等待句柄。

返回

EventWaitHandleSecurity

指定的 handle 的安全描述符。

适用于

GetAccessControl(Mutex)

返回指定的 mutex 的安全描述符。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Security::AccessControl::MutexSecurity ^ GetAccessControl(System::Threading::Mutex ^ mutex);
public static System.Security.AccessControl.MutexSecurity GetAccessControl (this System.Threading.Mutex mutex);
static member GetAccessControl : System.Threading.Mutex -> System.Security.AccessControl.MutexSecurity
<Extension()>
Public Function GetAccessControl (mutex As Mutex) As MutexSecurity

参数

mutex
Mutex

应从中返回安全描述符的互斥体。

返回

MutexSecurity

指定的 mutex 的安全描述符。

适用于

GetAccessControl(Semaphore)

返回指定的 semaphore 的安全描述符。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Security::AccessControl::SemaphoreSecurity ^ GetAccessControl(System::Threading::Semaphore ^ semaphore);
public static System.Security.AccessControl.SemaphoreSecurity GetAccessControl (this System.Threading.Semaphore semaphore);
static member GetAccessControl : System.Threading.Semaphore -> System.Security.AccessControl.SemaphoreSecurity
<Extension()>
Public Function GetAccessControl (semaphore As Semaphore) As SemaphoreSecurity

参数

semaphore
Semaphore

应从中返回安全描述符的信号灯。

返回

SemaphoreSecurity

指定信号灯的安全描述符。

适用于