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.StringassemblyFullNameFully assembly qualified name: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: Systemstatic java.lang.StringclassNameQualified class name: System.Diagnostics.PerformanceCounterCategorystatic JCTypeclassTypeThe 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 PerformanceCounterCategorycast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoPerformanceCounterCategory, a cast assert is made to check if types are compatible.booleanCounterExists(java.lang.String counterName)static booleanCounterExists(java.lang.String counterName, java.lang.String categoryName)static booleanCounterExists(java.lang.String counterName, java.lang.String categoryName, java.lang.String machineName)static PerformanceCounterCategoryCreate(java.lang.String categoryName, java.lang.String categoryHelp, java.lang.String counterName, java.lang.String counterHelp)static PerformanceCounterCategoryCreate(java.lang.String categoryName, java.lang.String categoryHelp, CounterCreationDataCollection counterData)static PerformanceCounterCategoryCreate(java.lang.String categoryName, java.lang.String categoryHelp, PerformanceCounterCategoryType categoryType, java.lang.String counterName, java.lang.String counterHelp)static PerformanceCounterCategoryCreate(java.lang.String categoryName, java.lang.String categoryHelp, PerformanceCounterCategoryType categoryType, CounterCreationDataCollection counterData)static voidDelete(java.lang.String categoryName)static booleanExists(java.lang.String categoryName)static booleanExists(java.lang.String categoryName, java.lang.String machineName)static PerformanceCounterCategory[]GetCategories()static PerformanceCounterCategory[]GetCategories(java.lang.String machineName)java.lang.StringgetCategoryHelp()java.lang.StringgetCategoryName()PerformanceCounterCategoryTypegetCategoryType()PerformanceCounter[]GetCounters()PerformanceCounter[]GetCounters(java.lang.String instanceName)java.lang.String[]GetInstanceNames()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class Typejava.lang.StringgetMachineName()booleanInstanceExists(java.lang.String instanceName)static booleanInstanceExists(java.lang.String instanceName, java.lang.String categoryName)static booleanInstanceExists(java.lang.String instanceName, java.lang.String categoryName, java.lang.String machineName)InstanceDataCollectionCollectionReadCategory()voidsetCategoryName(java.lang.String CategoryName)voidsetJCOInstance(JCObject instance)voidsetMachineName(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.ThrowableInternal 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.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionNullReferenceException
-
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.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionNullReferenceException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static PerformanceCounterCategory cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoPerformanceCounterCategory, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
PerformanceCounterCategoryinstance- 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.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionPlatformNotSupportedExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionWin32ExceptionFormatException
-
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.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionNullReferenceExceptionPlatformNotSupportedExceptionSecurityExceptionWin32ExceptionUnauthorizedAccessExceptionIOExceptionAbandonedMutexException
-
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.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionNullReferenceExceptionPlatformNotSupportedExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionWin32Exception
-
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.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionNullReferenceExceptionPlatformNotSupportedExceptionNotSupportedExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionWin32ExceptionAbandonedMutexException
-
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.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionNullReferenceExceptionPlatformNotSupportedExceptionSecurityExceptionIndexOutOfRangeExceptionUnauthorizedAccessExceptionIOExceptionWin32Exception
-
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.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionPlatformNotSupportedExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionWin32ExceptionFormatExceptionAccessViolationException
-
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.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionNullReferenceExceptionPlatformNotSupportedExceptionWin32ExceptionIOExceptionSecurityExceptionAccessViolationException
-
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.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionNullReferenceExceptionPlatformNotSupportedExceptionSecurityExceptionWin32ExceptionUnauthorizedAccessExceptionIOExceptionAccessViolationException
-
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.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionPlatformNotSupportedExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionWin32ExceptionFormatExceptionAccessViolationException
-
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.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionNullReferenceExceptionPlatformNotSupportedExceptionWin32ExceptionIOExceptionSecurityExceptionAccessViolationException
-
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.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionPlatformNotSupportedExceptionSecurityExceptionWin32ExceptionUnauthorizedAccessExceptionIOExceptionAccessViolationExceptionNullReferenceException
-
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.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionNullReferenceExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionSystemExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionNotSupportedExceptionMissingMethodExceptionSecurityExceptionWin32ExceptionInvalidEnumArgumentExceptionRankExceptionCryptographicExceptionApplicationException
-
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.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionNullReferenceExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionSystemExceptionWaitHandleCannotBeOpenedExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionAbandonedMutexExceptionSecurityExceptionWin32ExceptionInvalidEnumArgumentExceptionRankExceptionCryptographicExceptionKeyNotFoundExceptionApplicationException
-
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.ThrowableArgumentNullExceptionArgumentExceptionFormatExceptionNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidEnumArgumentExceptionNullReferenceExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionSystemExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionCultureNotFoundExceptionMissingMethodExceptionSecurityExceptionIndexOutOfRangeExceptionWin32ExceptionRankExceptionCryptographicExceptionApplicationException
-
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.ThrowableArgumentNullExceptionArgumentExceptionFormatExceptionNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidEnumArgumentExceptionNullReferenceExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionSystemExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionCultureNotFoundExceptionMissingMethodExceptionSecurityExceptionIndexOutOfRangeExceptionWin32ExceptionRankExceptionCryptographicExceptionApplicationException
-
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.ThrowableNullReferenceExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionSecurityExceptionWin32ExceptionUnauthorizedAccessExceptionIOExceptionAbandonedMutexException
-
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.ThrowableNullReferenceExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionPlatformNotSupportedExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionWin32Exception
-
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.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionNullReferenceExceptionPlatformNotSupportedExceptionSecurityExceptionWin32ExceptionUnauthorizedAccessExceptionIOExceptionAccessViolationException
-
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.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionNullReferenceExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionSystemExceptionWaitHandleCannotBeOpenedExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionAbandonedMutexExceptionSecurityExceptionConfigurationExceptionApplicationExceptionOverflowExceptionInvalidEnumArgumentExceptionWin32ExceptionRankExceptionCryptographicExceptionKeyNotFoundException
-
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.ThrowableArgumentOutOfRangeExceptionCultureNotFoundExceptionArgumentExceptionArgumentNullExceptionNotSupportedExceptionIndexOutOfRangeExceptionInvalidOperationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionPlatformNotSupportedExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionWin32ExceptionAccessViolationException
-
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.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionPlatformNotSupportedExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionWin32ExceptionFormatException
-
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.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionNullReferenceException
-
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.ThrowableNullReferenceExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatException
-
-