public class PerformanceCounter extends Component
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Diagnostics.PerformanceCounter
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Diagnostics.PerformanceCounter, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.Diagnostics.PerformanceCounter
|
static java.lang.String |
className
Qualified class name: System.Diagnostics.PerformanceCounter
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
PerformanceCounter()
Initializes a new instance by invoking the .NET constructor.
|
PerformanceCounter(java.lang.Object instance)
Internal constructor.
|
PerformanceCounter(java.lang.String categoryName,
java.lang.String counterName)
Initializes a new instance by invoking the .NET constructor.
|
PerformanceCounter(java.lang.String categoryName,
java.lang.String counterName,
boolean readOnly)
Initializes a new instance by invoking the .NET constructor.
|
PerformanceCounter(java.lang.String categoryName,
java.lang.String counterName,
java.lang.String instanceName)
Initializes a new instance by invoking the .NET constructor.
|
PerformanceCounter(java.lang.String categoryName,
java.lang.String counterName,
java.lang.String instanceName,
boolean readOnly)
Initializes a new instance by invoking the .NET constructor.
|
PerformanceCounter(java.lang.String categoryName,
java.lang.String counterName,
java.lang.String instanceName,
java.lang.String machineName)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BeginInit()
Invokes the .NET member BeginInit.
|
static PerformanceCounter |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into PerformanceCounter, a cast assert is made to check if types are compatible. |
void |
Close()
Invokes the .NET member Close.
|
static void |
CloseSharedResources()
Invokes the .NET member CloseSharedResources.
|
long |
Decrement()
Invokes the .NET member Decrement.
|
void |
EndInit()
Invokes the .NET member EndInit.
|
java.lang.String |
getCategoryName()
Gets the value of the .NET property CategoryName.
|
java.lang.String |
getCounterHelp()
Gets the value of the .NET property CounterHelp.
|
java.lang.String |
getCounterName()
Gets the value of the .NET property CounterName.
|
PerformanceCounterType |
getCounterType()
Gets the value of the .NET property CounterType.
|
PerformanceCounterInstanceLifetime |
getInstanceLifetime()
Gets the value of the .NET property InstanceLifetime.
|
java.lang.String |
getInstanceName()
Gets the value of the .NET property InstanceName.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
java.lang.String |
getMachineName()
Gets the value of the .NET property MachineName.
|
long |
getRawValue()
Gets the value of the .NET property RawValue.
|
boolean |
getReadOnly()
Gets the value of the .NET property ReadOnly.
|
long |
Increment()
Invokes the .NET member Increment.
|
long |
IncrementBy(long value)
Invokes the .NET member IncrementBy.
|
CounterSample |
NextSample()
Invokes the .NET member NextSample.
|
Single |
NextValue()
Invokes the .NET member NextValue.
|
void |
RemoveInstance()
Invokes the .NET member RemoveInstance.
|
void |
setCategoryName(java.lang.String CategoryName)
Sets the value of the .NET property CategoryName.
|
void |
setCounterName(java.lang.String CounterName)
Sets the value of the .NET property CounterName.
|
void |
setInstanceLifetime(PerformanceCounterInstanceLifetime InstanceLifetime)
Sets the value of the .NET property InstanceLifetime.
|
void |
setInstanceName(java.lang.String InstanceName)
Sets the value of the .NET property InstanceName.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setMachineName(java.lang.String MachineName)
Sets the value of the .NET property MachineName.
|
void |
setRawValue(long RawValue)
Sets the value of the .NET property RawValue.
|
void |
setReadOnly(boolean ReadOnly)
Sets the value of the .NET property ReadOnly.
|
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSiteGetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public PerformanceCounter()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException
java.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic PerformanceCounter(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic PerformanceCounter(java.lang.String categoryName,
java.lang.String counterName)
throws java.lang.Throwable,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
SecurityException,
Win32Exception,
ArgumentException,
NotSupportedException,
IndexOutOfRangeException,
FormatException,
ArgumentNullException,
OutOfMemoryException,
ExternalException,
RankException,
ArrayTypeMismatchException,
ObjectDisposedException,
IOException,
UnauthorizedAccessException,
WaitHandleCannotBeOpenedException,
ApplicationException
categoryName - the argument of type java.lang.StringcounterName - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itSecurityException - if the .NET member raises itWin32Exception - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itApplicationException - if the .NET member raises itpublic PerformanceCounter(java.lang.String categoryName,
java.lang.String counterName,
boolean readOnly)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
SecurityException,
Win32Exception,
IndexOutOfRangeException,
ArgumentNullException,
CultureNotFoundException,
OutOfMemoryException,
ExternalException,
ObjectDisposedException,
WaitHandleCannotBeOpenedException,
ApplicationException
categoryName - the argument of type java.lang.StringcounterName - the argument of type java.lang.StringreadOnly - the argument of type booleanjava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itSecurityException - if the .NET member raises itWin32Exception - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itObjectDisposedException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itApplicationException - if the .NET member raises itpublic PerformanceCounter(java.lang.String categoryName,
java.lang.String counterName,
java.lang.String instanceName)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
SecurityException,
Win32Exception,
IndexOutOfRangeException,
ArgumentNullException,
CultureNotFoundException,
OutOfMemoryException,
ExternalException,
ObjectDisposedException,
WaitHandleCannotBeOpenedException,
ApplicationException
categoryName - the argument of type java.lang.StringcounterName - the argument of type java.lang.StringinstanceName - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itSecurityException - if the .NET member raises itWin32Exception - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itObjectDisposedException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itApplicationException - if the .NET member raises itpublic PerformanceCounter(java.lang.String categoryName,
java.lang.String counterName,
java.lang.String instanceName,
boolean readOnly)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
SecurityException,
Win32Exception,
IndexOutOfRangeException,
ArgumentNullException,
CultureNotFoundException,
OutOfMemoryException,
ExternalException,
FormatException,
IOException,
WaitHandleCannotBeOpenedException,
ApplicationException,
OverflowException,
AbandonedMutexException
categoryName - the argument of type java.lang.StringcounterName - the argument of type java.lang.StringinstanceName - the argument of type java.lang.StringreadOnly - the argument of type booleanjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itSecurityException - if the .NET member raises itWin32Exception - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itFormatException - if the .NET member raises itIOException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itApplicationException - if the .NET member raises itOverflowException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itpublic PerformanceCounter(java.lang.String categoryName,
java.lang.String counterName,
java.lang.String instanceName,
java.lang.String machineName)
throws java.lang.Throwable,
InvalidOperationException,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
NotSupportedException,
ArgumentNullException,
CultureNotFoundException,
OutOfMemoryException,
ExternalException,
Win32Exception,
RankException,
ArrayTypeMismatchException,
ObjectDisposedException,
SecurityException,
WaitHandleCannotBeOpenedException,
ApplicationException
categoryName - the argument of type java.lang.StringcounterName - the argument of type java.lang.StringinstanceName - the argument of type java.lang.StringmachineName - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itWin32Exception - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itObjectDisposedException - if the .NET member raises itSecurityException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itApplicationException - if the .NET member raises itpublic void BeginInit()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static PerformanceCounter cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into PerformanceCounter, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedPerformanceCounter instancejava.lang.Throwable - in case of error during cast operationpublic void Close()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static void CloseSharedResources()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic long Decrement()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
FormatException,
OutOfMemoryException,
Win32Exception,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
IOException,
SecurityException,
WaitHandleCannotBeOpenedException,
ApplicationException,
OverflowException,
AbandonedMutexException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itWin32Exception - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIOException - if the .NET member raises itSecurityException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itApplicationException - if the .NET member raises itOverflowException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itpublic void EndInit()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
OutOfMemoryException,
CultureNotFoundException,
FormatException,
Win32Exception,
IOException,
IndexOutOfRangeException,
SecurityException,
WaitHandleCannotBeOpenedException,
ApplicationException,
OverflowException,
AbandonedMutexException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itIOException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itSecurityException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itApplicationException - if the .NET member raises itOverflowException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itpublic java.lang.String getCategoryName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getCounterHelp()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
OutOfMemoryException,
CultureNotFoundException,
FormatException,
Win32Exception,
IOException,
IndexOutOfRangeException,
SecurityException,
WaitHandleCannotBeOpenedException,
ApplicationException,
OverflowException,
AbandonedMutexException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itIOException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itSecurityException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itApplicationException - if the .NET member raises itOverflowException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itpublic java.lang.String getCounterName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic PerformanceCounterType getCounterType() throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, OutOfMemoryException, CultureNotFoundException, FormatException, Win32Exception, IOException, IndexOutOfRangeException, SecurityException, WaitHandleCannotBeOpenedException, ApplicationException, OverflowException, AbandonedMutexException, ObjectDisposedException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itIOException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itSecurityException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itApplicationException - if the .NET member raises itOverflowException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic PerformanceCounterInstanceLifetime getInstanceLifetime() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getInstanceName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class Componentpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class Componentpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class Componentnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class Componentpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class Componentpublic java.lang.String getMachineName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic long getRawValue()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException,
ArgumentNullException,
CultureNotFoundException,
ArgumentOutOfRangeException,
Win32Exception,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
FormatException,
ObjectDisposedException,
SecurityException,
WaitHandleCannotBeOpenedException,
ApplicationException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itWin32Exception - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itFormatException - if the .NET member raises itObjectDisposedException - if the .NET member raises itSecurityException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itApplicationException - if the .NET member raises itpublic boolean getReadOnly()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic long Increment()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
FormatException,
OutOfMemoryException,
Win32Exception,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
IOException,
SecurityException,
WaitHandleCannotBeOpenedException,
ApplicationException,
OverflowException,
AbandonedMutexException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itWin32Exception - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIOException - if the .NET member raises itSecurityException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itApplicationException - if the .NET member raises itOverflowException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itpublic long IncrementBy(long value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
FormatException,
OutOfMemoryException,
Win32Exception,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
IOException,
SecurityException,
WaitHandleCannotBeOpenedException,
ApplicationException,
OverflowException,
AbandonedMutexException
value - the argument of type longjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itWin32Exception - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIOException - if the .NET member raises itSecurityException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itApplicationException - if the .NET member raises itOverflowException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itpublic CounterSample NextSample() throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, OutOfMemoryException, CultureNotFoundException, FormatException, Win32Exception, IOException, IndexOutOfRangeException, SecurityException, WaitHandleCannotBeOpenedException, ApplicationException, OverflowException, AbandonedMutexException, ObjectDisposedException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itIOException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itSecurityException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itApplicationException - if the .NET member raises itOverflowException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic Single NextValue() throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, Win32Exception, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, FormatException, ObjectDisposedException, SecurityException, WaitHandleCannotBeOpenedException, ApplicationException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itWin32Exception - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itFormatException - if the .NET member raises itObjectDisposedException - if the .NET member raises itSecurityException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itApplicationException - if the .NET member raises itpublic void RemoveInstance()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
FormatException,
OutOfMemoryException,
Win32Exception,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
IOException,
SecurityException,
WaitHandleCannotBeOpenedException,
ApplicationException,
OverflowException,
AbandonedMutexException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itWin32Exception - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIOException - if the .NET member raises itSecurityException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itApplicationException - if the .NET member raises itOverflowException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itpublic void setCategoryName(java.lang.String CategoryName)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
OutOfMemoryException,
ExternalException
CategoryName - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itpublic void setCounterName(java.lang.String CounterName)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
OutOfMemoryException,
ExternalException
CounterName - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itpublic void setInstanceLifetime(PerformanceCounterInstanceLifetime InstanceLifetime) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
InstanceLifetime - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setInstanceName(java.lang.String InstanceName)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
CultureNotFoundException,
PlatformNotSupportedException,
ArgumentNullException,
InvalidOperationException,
ArgumentOutOfRangeException,
OutOfMemoryException,
ExternalException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException
InstanceName - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class Componentinstance - the new underlying objectpublic void setMachineName(java.lang.String MachineName)
throws java.lang.Throwable,
InvalidOperationException,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentNullException,
CultureNotFoundException,
ObjectDisposedException
MachineName - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setRawValue(long RawValue)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
FormatException,
OutOfMemoryException,
Win32Exception,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
IOException,
SecurityException,
WaitHandleCannotBeOpenedException,
ApplicationException,
OverflowException,
AbandonedMutexException
RawValue - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itWin32Exception - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIOException - if the .NET member raises itSecurityException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itApplicationException - if the .NET member raises itOverflowException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itpublic void setReadOnly(boolean ReadOnly)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
SecurityException,
Win32Exception
ReadOnly - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itSecurityException - if the .NET member raises itWin32Exception - if the .NET member raises it