ThreadingAclExtensions.GetAccessControl Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetAccessControl(EventWaitHandle) |
Returns the security descriptors for the specified |
GetAccessControl(Mutex) |
Returns the security descriptors for the specified |
GetAccessControl(Semaphore) |
Returns the security descriptors for the specified |
GetAccessControl(EventWaitHandle)
- Source:
- ThreadingAclExtensions.cs
- Source:
- ThreadingAclExtensions.cs
- Source:
- ThreadingAclExtensions.cs
- Source:
- ThreadingAclExtensions.cs
Returns the security descriptors for the specified 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
Parameters
- handle
- EventWaitHandle
The event wait handle from which the security descriptors should be returned.
Returns
The security descriptors for the specified handle
.
Applies to
GetAccessControl(Mutex)
- Source:
- ThreadingAclExtensions.cs
- Source:
- ThreadingAclExtensions.cs
- Source:
- ThreadingAclExtensions.cs
- Source:
- ThreadingAclExtensions.cs
Returns the security descriptors for the specified 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
Parameters
- mutex
- Mutex
The mutex from which the security descriptors should be returned.
Returns
The security descriptors for the specified mutex
.
Applies to
GetAccessControl(Semaphore)
- Source:
- ThreadingAclExtensions.cs
- Source:
- ThreadingAclExtensions.cs
- Source:
- ThreadingAclExtensions.cs
- Source:
- ThreadingAclExtensions.cs
Returns the security descriptors for the specified 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
Parameters
- semaphore
- Semaphore
The semaphore from which the security descriptors should be returned.
Returns
The security descriptors for the specified semaphore.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈