This documentation is archived and is not being maintained.

TrackingExtensions.TrackBuildError Method (NativeActivityContext, String)

Namespace:  Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly:  Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)

public static void TrackBuildError(
	this NativeActivityContext context,
	string message
)

Parameters

context
Type: System.Activities.NativeActivityContext
message
Type: System.String

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type NativeActivityContext. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Show: