Condividi tramite


ICommandRuntime.WriteCommandDetail(String) Method

Definition

Write text into pipeline execution log.

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

Parameters

text
String

Text to be written to log.

Attributes

Remarks

Use WriteCommandDetail to write important information about cmdlet execution to pipeline execution log.

If LogPipelineExecutionDetail is turned on, this information will be written to PowerShell log under log category "Pipeline execution detail"

Applies to

See also