Share via


IDkmProductionAgent Interface

Definition

Agent operations relating to production diagnostics. The agent will be launched with STDIN and STDOUT redirected. A client can write to STDIN by sending a UTF8 string through the SendMessage method. When the process writes to STDOUT, DkmCustomMessage::SendToVsService is invoked with the source id set to DkmProductionAgent::UniqueId and the UTF8 encoded contents in param1.

Implementations of this interface are always called (no filtering is supported). To reduce memory impact, it is suggested that this interface be implemented in a small dll, or that the implementation is configured with 'CallOnlyWhenLoaded="true"'.

This API was introduced in Visual Studio 15 Update 2 (DkmApiVersion.VS15Update2).

public interface class IDkmProductionAgent
public interface class IDkmProductionAgent
__interface IDkmProductionAgent
public interface IDkmProductionAgent
type IDkmProductionAgent = interface
Public Interface IDkmProductionAgent

Methods

SendMessage(DkmProductionAgent, Byte[])

Send a message to a production agent.

Applies to