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 傳回安全性描述元。
傳回
所指定 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
應從此旗號傳回安全性描述元。
傳回
所指定旗號的安全性描述元。