TraceEventCache.ProcessId Property

Definition

Gets the unique identifier of the current process.

public:
 property int ProcessId { int get(); };
public int ProcessId { get; }
member this.ProcessId : int
Public ReadOnly Property ProcessId As Integer

Property 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.

Applies to