다음을 통해 공유


BuildControllerWebService.ReportBuildError Method

This method should be called to report that the build failed when MSBuild exits with a non-zero exitCode on the build machine.

Namespace:  Microsoft.TeamFoundation.Build.Server.Compatibility
Assembly:  Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Sub ReportBuildError ( _
    buildUri As String, _
    exitCode As Integer _
)
[WebMethodAttribute]
public void ReportBuildError(
    string buildUri,
    int exitCode
)
[WebMethodAttribute]
public:
void ReportBuildError(
    String^ buildUri, 
    int exitCode
)
[<WebMethodAttribute>]
member ReportBuildError : 
        buildUri:string * 
        exitCode:int -> unit
public function ReportBuildError(
    buildUri : String, 
    exitCode : int
)

Parameters

.NET Framework Security

See Also

Reference

BuildControllerWebService Class

Microsoft.TeamFoundation.Build.Server.Compatibility Namespace