Instrumentation.Publish(Object) Method

Definition

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)

Parameters

instanceData
Object

The object that is to be visible through management instrumentation.

Remarks

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

Applies to