Метод | Описание | |
---|---|---|
Dispose ( ) : void | ||
Exit ( int code ) : void | ||
PSWrapper ( |
||
TryExecute ( string cmd ) : void |
Метод | Описание | |
---|---|---|
Execute ( string cmd ) : void | ||
ReportException ( |
To display an exception using the display formatter, run a second pipeline passing in the error record. The runtime will bind this to the $input variable, which is why $input is being piped to the Out-String cmdlet. The WriteErrorLine method is called to make sure the error gets displayed in the correct error color.
|
public PSWrapper ( |
||
buffers | ||
exitCallback | System.Action | |
Результат | System |