TraceResult.ErrorCode Property

If the trace failed, an error code indicating why the trace failed.

Syntax

public:
property HResult ErrorCode {
         HResult get ();
}  

Property value

Type: HResult 

Returns the reason the trace failed. S_OK is returned for successful traces.

Requirements

Namespace: Microsoft.Xbox.Tools.ConsoleExtensions

Metadata: microsoft.xbox.tools.consoleextensions.winmd

See also

Reference

TraceResult Class

TraceResult Members

Microsoft.Xbox.Tools.ConsoleExtensions Namespace