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
- buildUri
Type: System.String
- exitCode
Type: System.Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
BuildControllerWebService Class
Microsoft.TeamFoundation.Build.Server.Compatibility Namespace