Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

PerformanceCounter Members (Visual J# Syntax)

Visual Studio .NET 2003

This topic shows Visual J# syntax for the .NET Framework library. For more information, click the link to the corresponding .NET Framework topic.

Declaration

/** @attribute System.ComponentModel.DesignerAttribute(DesignerBaseTypeName = "System.ComponentModel.Design.IDesigner", DesignerTypeName = "Microsoft.VisualStudio.Install.PerformanceCounterDesigner, Microsoft.VisualStudio, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a") */
/** @attribute System.ComponentModel.InstallerTypeAttribute(InstallerType = System.Diagnostics.PerformanceCounterInstaller) */
public class PerformanceCounter
   extends System.ComponentModel.Component
   implements System.ComponentModel.ISupportInitialize

Public Constructors

public PerformanceCounter();
public PerformanceCounter(
   System.String categoryName,
   System.String counterName
);
public PerformanceCounter(
   System.String categoryName,
   System.String counterName,
   boolean readOnly
);
public PerformanceCounter(
   System.String categoryName,
   System.String counterName,
   System.String instanceName
);
public PerformanceCounter(
   System.String categoryName,
   System.String counterName,
   System.String instanceName,
   boolean readOnly
);
public PerformanceCounter(
   System.String categoryName,
   System.String counterName,
   System.String instanceName,
   System.String machineName
);

Public Properties

public System.String get_CategoryName();
public void set_CategoryName(
   System.String value
);
public System.String get_CounterHelp();
public System.String get_CounterName();
public void set_CounterName(
   System.String value
);
public System.Diagnostics.PerformanceCounterType get_CounterType();
public System.String get_InstanceName();
public void set_InstanceName(
   System.String value
);
public System.String get_MachineName();
public void set_MachineName(
   System.String value
);
public long get_RawValue();
public void set_RawValue(
   long value
);
public boolean get_ReadOnly();
public void set_ReadOnly(
   boolean value
);

Public Methods

public final void BeginInit();
public void Close();
public static void CloseSharedResources();
public long Decrement();
public final void EndInit();
public long Increment();
public long IncrementBy(
   long value
);
public System.Diagnostics.CounterSample NextSample();
public float NextValue();
public void RemoveInstance();

Public Fields

public static int DefaultFileMappingSize;

Protected Methods

protected void Dispose(
   boolean disposing
);
Show:
© 2015 Microsoft