Package system.diagnostics
Class PerformanceCounterCategory
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.diagnostics.PerformanceCounterCategory
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class PerformanceCounterCategory extends NetObject
The base .NET class managing System.Diagnostics.PerformanceCounterCategory, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Diagnostics.PerformanceCounterCategory
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: Systemstatic java.lang.String
className
Qualified class name: System.Diagnostics.PerformanceCounterCategorystatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description PerformanceCounterCategory()
PerformanceCounterCategory(java.lang.Object instance)
Internal constructor.PerformanceCounterCategory(java.lang.String categoryName)
PerformanceCounterCategory(java.lang.String categoryName, java.lang.String machineName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PerformanceCounterCategory
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoPerformanceCounterCategory
, a cast assert is made to check if types are compatible.boolean
CounterExists(java.lang.String counterName)
static boolean
CounterExists(java.lang.String counterName, java.lang.String categoryName)
static boolean
CounterExists(java.lang.String counterName, java.lang.String categoryName, java.lang.String machineName)
static PerformanceCounterCategory
Create(java.lang.String categoryName, java.lang.String categoryHelp, java.lang.String counterName, java.lang.String counterHelp)
static PerformanceCounterCategory
Create(java.lang.String categoryName, java.lang.String categoryHelp, CounterCreationDataCollection counterData)
static PerformanceCounterCategory
Create(java.lang.String categoryName, java.lang.String categoryHelp, PerformanceCounterCategoryType categoryType, java.lang.String counterName, java.lang.String counterHelp)
static PerformanceCounterCategory
Create(java.lang.String categoryName, java.lang.String categoryHelp, PerformanceCounterCategoryType categoryType, CounterCreationDataCollection counterData)
static void
Delete(java.lang.String categoryName)
static boolean
Exists(java.lang.String categoryName)
static boolean
Exists(java.lang.String categoryName, java.lang.String machineName)
static PerformanceCounterCategory[]
GetCategories()
static PerformanceCounterCategory[]
GetCategories(java.lang.String machineName)
java.lang.String
getCategoryHelp()
java.lang.String
getCategoryName()
PerformanceCounterCategoryType
getCategoryType()
PerformanceCounter[]
GetCounters()
PerformanceCounter[]
GetCounters(java.lang.String instanceName)
java.lang.String[]
GetInstanceNames()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typejava.lang.String
getMachineName()
boolean
InstanceExists(java.lang.String instanceName)
static boolean
InstanceExists(java.lang.String instanceName, java.lang.String categoryName)
static boolean
InstanceExists(java.lang.String instanceName, java.lang.String categoryName, java.lang.String machineName)
InstanceDataCollectionCollection
ReadCategory()
void
setCategoryName(java.lang.String CategoryName)
void
setJCOInstance(JCObject instance)
void
setMachineName(java.lang.String MachineName)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Diagnostics.PerformanceCounterCategory- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PerformanceCounterCategory
public PerformanceCounterCategory(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
PerformanceCounterCategory
public PerformanceCounterCategory() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
PerformanceCounterCategory
public PerformanceCounterCategory(java.lang.String categoryName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, NullReferenceException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
NullReferenceException
-
PerformanceCounterCategory
public PerformanceCounterCategory(java.lang.String categoryName, java.lang.String machineName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, NullReferenceException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
NullReferenceException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static PerformanceCounterCategory cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoPerformanceCounterCategory
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
PerformanceCounterCategory
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
CounterExists
public boolean CounterExists(java.lang.String counterName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, PlatformNotSupportedException, SecurityException, UnauthorizedAccessException, IOException, Win32Exception, FormatException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
PlatformNotSupportedException
SecurityException
UnauthorizedAccessException
IOException
Win32Exception
FormatException
-
CounterExists
public static boolean CounterExists(java.lang.String counterName, java.lang.String categoryName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, NullReferenceException, PlatformNotSupportedException, SecurityException, Win32Exception, UnauthorizedAccessException, IOException, AbandonedMutexException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
NullReferenceException
PlatformNotSupportedException
SecurityException
Win32Exception
UnauthorizedAccessException
IOException
AbandonedMutexException
-
CounterExists
public static boolean CounterExists(java.lang.String counterName, java.lang.String categoryName, java.lang.String machineName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, NullReferenceException, PlatformNotSupportedException, SecurityException, UnauthorizedAccessException, IOException, Win32Exception
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
NullReferenceException
PlatformNotSupportedException
SecurityException
UnauthorizedAccessException
IOException
Win32Exception
-
Exists
public static boolean Exists(java.lang.String categoryName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, NullReferenceException, PlatformNotSupportedException, NotSupportedException, SecurityException, UnauthorizedAccessException, IOException, Win32Exception, AbandonedMutexException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
NullReferenceException
PlatformNotSupportedException
NotSupportedException
SecurityException
UnauthorizedAccessException
IOException
Win32Exception
AbandonedMutexException
-
Exists
public static boolean Exists(java.lang.String categoryName, java.lang.String machineName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, NullReferenceException, PlatformNotSupportedException, SecurityException, IndexOutOfRangeException, UnauthorizedAccessException, IOException, Win32Exception
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
NullReferenceException
PlatformNotSupportedException
SecurityException
IndexOutOfRangeException
UnauthorizedAccessException
IOException
Win32Exception
-
InstanceExists
public boolean InstanceExists(java.lang.String instanceName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, PlatformNotSupportedException, SecurityException, UnauthorizedAccessException, IOException, Win32Exception, FormatException, AccessViolationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
PlatformNotSupportedException
SecurityException
UnauthorizedAccessException
IOException
Win32Exception
FormatException
AccessViolationException
-
InstanceExists
public static boolean InstanceExists(java.lang.String instanceName, java.lang.String categoryName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, NullReferenceException, PlatformNotSupportedException, Win32Exception, IOException, SecurityException, AccessViolationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
NullReferenceException
PlatformNotSupportedException
Win32Exception
IOException
SecurityException
AccessViolationException
-
InstanceExists
public static boolean InstanceExists(java.lang.String instanceName, java.lang.String categoryName, java.lang.String machineName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, NullReferenceException, PlatformNotSupportedException, SecurityException, Win32Exception, UnauthorizedAccessException, IOException, AccessViolationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
NullReferenceException
PlatformNotSupportedException
SecurityException
Win32Exception
UnauthorizedAccessException
IOException
AccessViolationException
-
ReadCategory
public InstanceDataCollectionCollection ReadCategory() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, PlatformNotSupportedException, SecurityException, UnauthorizedAccessException, IOException, Win32Exception, FormatException, AccessViolationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
PlatformNotSupportedException
SecurityException
UnauthorizedAccessException
IOException
Win32Exception
FormatException
AccessViolationException
-
GetCounters
public PerformanceCounter[] GetCounters() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, NullReferenceException, PlatformNotSupportedException, Win32Exception, IOException, SecurityException, AccessViolationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
NullReferenceException
PlatformNotSupportedException
Win32Exception
IOException
SecurityException
AccessViolationException
-
GetCounters
public PerformanceCounter[] GetCounters(java.lang.String instanceName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, PlatformNotSupportedException, SecurityException, Win32Exception, UnauthorizedAccessException, IOException, AccessViolationException, NullReferenceException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
PlatformNotSupportedException
SecurityException
Win32Exception
UnauthorizedAccessException
IOException
AccessViolationException
NullReferenceException
-
Create
public static PerformanceCounterCategory Create(java.lang.String categoryName, java.lang.String categoryHelp, CounterCreationDataCollection counterData) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NullReferenceException, PlatformNotSupportedException, OutOfMemoryException, SystemException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, NotSupportedException, MissingMethodException, SecurityException, Win32Exception, InvalidEnumArgumentException, RankException, CryptographicException, ApplicationException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
NullReferenceException
PlatformNotSupportedException
OutOfMemoryException
SystemException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
NotSupportedException
MissingMethodException
SecurityException
Win32Exception
InvalidEnumArgumentException
RankException
CryptographicException
ApplicationException
-
Create
public static PerformanceCounterCategory Create(java.lang.String categoryName, java.lang.String categoryHelp, PerformanceCounterCategoryType categoryType, CounterCreationDataCollection counterData) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, NullReferenceException, PlatformNotSupportedException, OutOfMemoryException, SystemException, WaitHandleCannotBeOpenedException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, AbandonedMutexException, SecurityException, Win32Exception, InvalidEnumArgumentException, RankException, CryptographicException, KeyNotFoundException, ApplicationException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
NullReferenceException
PlatformNotSupportedException
OutOfMemoryException
SystemException
WaitHandleCannotBeOpenedException
NotSupportedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
AbandonedMutexException
SecurityException
Win32Exception
InvalidEnumArgumentException
RankException
CryptographicException
KeyNotFoundException
ApplicationException
-
Create
public static PerformanceCounterCategory Create(java.lang.String categoryName, java.lang.String categoryHelp, PerformanceCounterCategoryType categoryType, java.lang.String counterName, java.lang.String counterHelp) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, NotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidEnumArgumentException, NullReferenceException, PlatformNotSupportedException, OutOfMemoryException, SystemException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, CultureNotFoundException, MissingMethodException, SecurityException, IndexOutOfRangeException, Win32Exception, RankException, CryptographicException, ApplicationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
FormatException
NotSupportedException
ArgumentOutOfRangeException
InvalidOperationException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
InvalidEnumArgumentException
NullReferenceException
PlatformNotSupportedException
OutOfMemoryException
SystemException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
CultureNotFoundException
MissingMethodException
SecurityException
IndexOutOfRangeException
Win32Exception
RankException
CryptographicException
ApplicationException
-
Create
public static PerformanceCounterCategory Create(java.lang.String categoryName, java.lang.String categoryHelp, java.lang.String counterName, java.lang.String counterHelp) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, NotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidEnumArgumentException, NullReferenceException, PlatformNotSupportedException, OutOfMemoryException, SystemException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, CultureNotFoundException, MissingMethodException, SecurityException, IndexOutOfRangeException, Win32Exception, RankException, CryptographicException, ApplicationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
FormatException
NotSupportedException
ArgumentOutOfRangeException
InvalidOperationException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
InvalidEnumArgumentException
NullReferenceException
PlatformNotSupportedException
OutOfMemoryException
SystemException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
CultureNotFoundException
MissingMethodException
SecurityException
IndexOutOfRangeException
Win32Exception
RankException
CryptographicException
ApplicationException
-
GetCategories
public static PerformanceCounterCategory[] GetCategories() throws java.lang.Throwable, NullReferenceException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, PlatformNotSupportedException, SecurityException, Win32Exception, UnauthorizedAccessException, IOException, AbandonedMutexException
- Throws:
java.lang.Throwable
NullReferenceException
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
PlatformNotSupportedException
SecurityException
Win32Exception
UnauthorizedAccessException
IOException
AbandonedMutexException
-
GetCategories
public static PerformanceCounterCategory[] GetCategories(java.lang.String machineName) throws java.lang.Throwable, NullReferenceException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, PlatformNotSupportedException, SecurityException, UnauthorizedAccessException, IOException, Win32Exception
- Throws:
java.lang.Throwable
NullReferenceException
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
PlatformNotSupportedException
SecurityException
UnauthorizedAccessException
IOException
Win32Exception
-
GetInstanceNames
public java.lang.String[] GetInstanceNames() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, NullReferenceException, PlatformNotSupportedException, SecurityException, Win32Exception, UnauthorizedAccessException, IOException, AccessViolationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
NullReferenceException
PlatformNotSupportedException
SecurityException
Win32Exception
UnauthorizedAccessException
IOException
AccessViolationException
-
Delete
public static void Delete(java.lang.String categoryName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, NullReferenceException, PlatformNotSupportedException, OutOfMemoryException, SystemException, WaitHandleCannotBeOpenedException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, AbandonedMutexException, SecurityException, ConfigurationException, ApplicationException, OverflowException, InvalidEnumArgumentException, Win32Exception, RankException, CryptographicException, KeyNotFoundException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
NullReferenceException
PlatformNotSupportedException
OutOfMemoryException
SystemException
WaitHandleCannotBeOpenedException
NotSupportedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
AbandonedMutexException
SecurityException
ConfigurationException
ApplicationException
OverflowException
InvalidEnumArgumentException
Win32Exception
RankException
CryptographicException
KeyNotFoundException
-
getCategoryType
public PerformanceCounterCategoryType getCategoryType() throws java.lang.Throwable, ArgumentOutOfRangeException, CultureNotFoundException, ArgumentException, ArgumentNullException, NotSupportedException, IndexOutOfRangeException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, PlatformNotSupportedException, SecurityException, UnauthorizedAccessException, IOException, Win32Exception, AccessViolationException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
CultureNotFoundException
ArgumentException
ArgumentNullException
NotSupportedException
IndexOutOfRangeException
InvalidOperationException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
PlatformNotSupportedException
SecurityException
UnauthorizedAccessException
IOException
Win32Exception
AccessViolationException
-
getCategoryHelp
public java.lang.String getCategoryHelp() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, PlatformNotSupportedException, SecurityException, UnauthorizedAccessException, IOException, Win32Exception, FormatException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
PlatformNotSupportedException
SecurityException
UnauthorizedAccessException
IOException
Win32Exception
FormatException
-
getCategoryName
public java.lang.String getCategoryName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCategoryName
public void setCategoryName(java.lang.String CategoryName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, NullReferenceException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
NullReferenceException
-
getMachineName
public java.lang.String getMachineName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setMachineName
public void setMachineName(java.lang.String MachineName) throws java.lang.Throwable, NullReferenceException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException
- Throws:
java.lang.Throwable
NullReferenceException
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
-
-