MutexSecurity Constructor (String^, AccessControlSections)
Initializes a new instance of the MutexSecurity class with the specified sections of the access control security rules from the system mutex with the specified name.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- name
-
Type:
System::String^
The name of the system mutex whose access control security rules are to be retrieved.
- includeSections
-
Type:
System.Security.AccessControl::AccessControlSections
A combination of AccessControlSections flags specifying the sections to retrieve.
| Exception | Condition |
|---|---|
| FileNotFoundException | There is no system object with the specified name. |
| NotSupportedException | This class is not supported on Windows 98 or Windows Millennium Edition. |
This constructor allows you to obtain the access control security for a named system mutex without first creating a Mutex object.
Caution must be exercised when working with named system objects. If there is a system object named name that is not a mutex, its control access security might be retrieved.
Available since 2.0