InstrumentedAttribute Constructor (String^, String^)

 

Initializes a new instance of the InstrumentedAttribute class that is set to the specified namespace and security settings for instrumentation within this assembly.

Namespace:   System.Management.Instrumentation
Assembly:  System.Management (in System.Management.dll)

public:
InstrumentedAttribute(
	String^ namespaceName,
	String^ securityDescriptor
)

Parameters

namespaceName
Type: System::String^

The namespace for instrumentation instances and events.

securityDescriptor
Type: System::String^

A security descriptor that allows only the specified users or groups to run applications that provide the instrumentation supported by this assembly.

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

.NET Framework
Available since 1.1
Return to top
Show: