PowerShellChannelWriter.TraceError Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
TraceError
public:
override bool TraceError(System::Management::Automation::Tracing::PowerShellTraceEvent traceEvent, System::Management::Automation::Tracing::PowerShellTraceOperationCode operationCode, System::Management::Automation::Tracing::PowerShellTraceTask task, ... cli::array <System::Object ^> ^ args);
public override bool TraceError (System.Management.Automation.Tracing.PowerShellTraceEvent traceEvent, System.Management.Automation.Tracing.PowerShellTraceOperationCode operationCode, System.Management.Automation.Tracing.PowerShellTraceTask task, params object[] args);
override this.TraceError : System.Management.Automation.Tracing.PowerShellTraceEvent * System.Management.Automation.Tracing.PowerShellTraceOperationCode * System.Management.Automation.Tracing.PowerShellTraceTask * obj[] -> bool
Public Overrides Function TraceError (traceEvent As PowerShellTraceEvent, operationCode As PowerShellTraceOperationCode, task As PowerShellTraceTask, ParamArray args As Object()) As Boolean
Parameters
- traceEvent
- PowerShellTraceEvent
- operationCode
- PowerShellTraceOperationCode
- task
- PowerShellTraceTask
- args
- Object[]