Share via


ICommandRuntime.WriteDebug(String) Method

Definition

Display debug information.

public:
 void WriteDebug(System::String ^ text);
public:
 void WriteDebug(Platform::String ^ text);
void WriteDebug(std::wstring const & text);
public void WriteDebug (string text);
[System.Runtime.CompilerServices.NullableContext(1)]
public void WriteDebug (string text);
abstract member WriteDebug : string -> unit
[<System.Runtime.CompilerServices.NullableContext(1)>]
abstract member WriteDebug : string -> unit
Public Sub WriteDebug (text As String)

Parameters

text
String

Debug output.

Attributes

Remarks

This API is called by the cmdlet to display debug information on the inner workings of the Cmdlet. An implementation of this interface should display this information in an appropriately distinctive manner (e.g. through a different color or in a separate status window. In simple implementations, just ignoring the text and returning is sufficient.

Applies to