Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

Namespace:   System.Security.AccessControl
Assembly:  mscorlib (in mscorlib.dll)

public:
MutexSecurity(
	String^ name,
	AccessControlSections includeSections
)

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.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft