Share via


PerformanceMonitor.processId Method

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

Syntax

public int processId()

Run On

Called

Return Value

Type: int
The processId value of the Microsoft Dynamics AX process that is running this method.

Examples

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

See Also

Reference

PerformanceMonitor Class