TraceEventCache.ProcessId Property    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the unique identifier of the current process.
public:
 property int ProcessId { int get(); };public int ProcessId { get; }member this.ProcessId : intPublic ReadOnly Property ProcessId As IntegerProperty Value
The system-generated unique identifier of the current process.
Remarks
Until the process terminates, the process identifier uniquely identifies the process throughout the system.