ThreadingAclExtensions.GetAccessControl 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetAccessControl(EventWaitHandle) |
返回指定的 |
GetAccessControl(Mutex) |
返回指定的 |
GetAccessControl(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
应从中返回安全描述符的事件等待句柄。
返回
指定的 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
应从中返回安全描述符的互斥体。
返回
指定的 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
应从中返回安全描述符的信号灯。
返回
指定信号灯的安全描述符。