ThreadingAclExtensions.GetAccessControl 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| 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
安全描述符應該從中回傳的信號量。
傳回
指定信號量的安全描述符。