共用方式為


IToolExecutionResult.ExitCode Property

The exit code 0 - success otherwise - failure

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
ReadOnly Property ExitCode As Integer
int ExitCode { get; }
property int ExitCode {
    int get ();
}
abstract ExitCode : int with get
function get ExitCode () : int

Property Value

Type: System.Int32
The exit code.

.NET Framework Security

See Also

Reference

IToolExecutionResult Interface

Microsoft.TeamFoundation.VersionControl.Client Namespace