public string name ;

描述

采样器名称。(只读)

在 Profiler 窗口中使用此名称标记采样器生成的数据。

注意:如果采样器无效,name 将返回 null 或空字符串。