共用方式為


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

應從此 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

所指定旗號的安全性描述元。

適用於