TraceEventCache.ProcessId 属性

定义

获取当前进程的唯一标识符。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

属性值

Int32

系统生成的当前进程的唯一标识符。The system-generated unique identifier of the current process.

注解

在进程终止之前,进程标识符唯一标识整个系统中的进程。Until the process terminates, the process identifier uniquely identifies the process throughout the system.

适用于