TeamFoundationBuildService.NotifyBuildCompleted Method
Notifies the server that the build with the provided URI has completed.
Namespace: Microsoft.TeamFoundation.Build.Server
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
Public Function NotifyBuildCompleted ( _
requestContext As TeamFoundationRequestContext, _
buildUri As String _
) As BuildDetail
public BuildDetail NotifyBuildCompleted(
TeamFoundationRequestContext requestContext,
string buildUri
)
public:
BuildDetail^ NotifyBuildCompleted(
TeamFoundationRequestContext^ requestContext,
String^ buildUri
)
member NotifyBuildCompleted :
requestContext:TeamFoundationRequestContext *
buildUri:string -> BuildDetail
public function NotifyBuildCompleted(
requestContext : TeamFoundationRequestContext,
buildUri : String
) : BuildDetail
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
buildUri
Type: System.StringThe build to mark completed.
Return Value
Type: Microsoft.TeamFoundation.Build.Server.BuildDetail
The updated build object.
.NET Framework Security
[M:F:Microsoft.TeamFoundation.Build.Common.BuildPermissions.UpdateBuildInformation]
The caller must have UpdateBuildInformation permission for the target build definition.
[M:F:Microsoft.TeamFoundation.Build.Common.BuildPermissions.UpdateBuildInformation]
The caller must have [UpdateBuildInformation] permission for the target build definition.
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.