Breyta

Deila með


PerformanceCounterPermission Constructors

Definition

Initializes a new instance of the PerformanceCounterPermission class.

Overloads

PerformanceCounterPermission()

Initializes a new instance of the PerformanceCounterPermission class.

PerformanceCounterPermission(PerformanceCounterPermissionEntry[])

Initializes a new instance of the PerformanceCounterPermission class with the specified permission access level entries.

PerformanceCounterPermission(PermissionState)

Initializes a new instance of the PerformanceCounterPermission class with the specified permission state.

PerformanceCounterPermission(PerformanceCounterPermissionAccess, String, String)

Initializes a new instance of the PerformanceCounterPermission class with the specified access levels, the name of the computer to use, and the category associated with the performance counter.

PerformanceCounterPermission()

Source:
PerformanceCounterPermission.cs
Source:
PerformanceCounterPermission.cs
Source:
PerformanceCounterPermission.cs
Source:
PerformanceCounterPermission.cs

Initializes a new instance of the PerformanceCounterPermission class.

public:
 PerformanceCounterPermission();
public PerformanceCounterPermission ();
Public Sub New ()

Applies to

PerformanceCounterPermission(PerformanceCounterPermissionEntry[])

Source:
PerformanceCounterPermission.cs
Source:
PerformanceCounterPermission.cs
Source:
PerformanceCounterPermission.cs
Source:
PerformanceCounterPermission.cs

Initializes a new instance of the PerformanceCounterPermission class with the specified permission access level entries.

public:
 PerformanceCounterPermission(cli::array <System::Diagnostics::PerformanceCounterPermissionEntry ^> ^ permissionAccessEntries);
public PerformanceCounterPermission (System.Diagnostics.PerformanceCounterPermissionEntry[] permissionAccessEntries);
new System.Diagnostics.PerformanceCounterPermission : System.Diagnostics.PerformanceCounterPermissionEntry[] -> System.Diagnostics.PerformanceCounterPermission
Public Sub New (permissionAccessEntries As PerformanceCounterPermissionEntry())

Parameters

permissionAccessEntries
PerformanceCounterPermissionEntry[]

An array of PerformanceCounterPermissionEntry objects. The PermissionEntries property is set to this value.

Exceptions

permissionAccessEntries is null.

Applies to

PerformanceCounterPermission(PermissionState)

Source:
PerformanceCounterPermission.cs
Source:
PerformanceCounterPermission.cs
Source:
PerformanceCounterPermission.cs
Source:
PerformanceCounterPermission.cs

Initializes a new instance of the PerformanceCounterPermission class with the specified permission state.

public:
 PerformanceCounterPermission(System::Security::Permissions::PermissionState state);
public PerformanceCounterPermission (System.Security.Permissions.PermissionState state);
new System.Diagnostics.PerformanceCounterPermission : System.Security.Permissions.PermissionState -> System.Diagnostics.PerformanceCounterPermission
Public Sub New (state As PermissionState)

Parameters

state
PermissionState

One of the PermissionState values.

Exceptions

The state parameter is not a valid value of PermissionState.

Applies to

PerformanceCounterPermission(PerformanceCounterPermissionAccess, String, String)

Source:
PerformanceCounterPermission.cs
Source:
PerformanceCounterPermission.cs
Source:
PerformanceCounterPermission.cs
Source:
PerformanceCounterPermission.cs

Initializes a new instance of the PerformanceCounterPermission class with the specified access levels, the name of the computer to use, and the category associated with the performance counter.

public:
 PerformanceCounterPermission(System::Diagnostics::PerformanceCounterPermissionAccess permissionAccess, System::String ^ machineName, System::String ^ categoryName);
public PerformanceCounterPermission (System.Diagnostics.PerformanceCounterPermissionAccess permissionAccess, string machineName, string categoryName);
new System.Diagnostics.PerformanceCounterPermission : System.Diagnostics.PerformanceCounterPermissionAccess * string * string -> System.Diagnostics.PerformanceCounterPermission
Public Sub New (permissionAccess As PerformanceCounterPermissionAccess, machineName As String, categoryName As String)

Parameters

machineName
String

The server on which the performance counter and its associate category reside.

categoryName
String

The name of the performance counter category (performance object) with which the performance counter is associated.

Applies to