Instrumentation.Publish(Object) 方法
定义
使实例通过管理检测可见。Makes an instance visible through management instrumentation.
public:
static void Publish(System::Object ^ instanceData);
public static void Publish (object instanceData);
static member Publish : obj -> unit
Public Shared Sub Publish (instanceData As Object)
参数
- instanceData
- Object
要通过管理检测可见的对象。The object that is to be visible through management instrumentation.
注解
.NET Framework 安全性.NET Framework Security
对直接调用方的完全信任。Full trust for the immediate caller. 此成员不能由部分信任的代码使用。This member cannot be used by partially trusted code. 有关详细信息,请参阅从部分受信任的代码使用库。For more information, see Using Libraries from Partially Trusted Code.