Partilhar via


PerformanceMonitor.processId Method

Definition

Returns the processId value of the process that is running this method.

public:
 virtual int processId();
public virtual int processId ();
abstract member processId : unit -> int
override this.processId : unit -> int
Public Overridable Function processId () As Integer

Returns

The processId value of the Finance and Operations process that is running this method.

Remarks

The following example demonstrates the processId method.

static void processIdDemo(args a) 
{ 
    PerformanceMonitor pm = new PerformanceMonitor(); 
    print pm.processId(); 
    pause; 
}

Applies to