TrackingExtensions.Track<T> Method (NativeActivityContext, T, Boolean)
Namespace: Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly: Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Sub Track(Of T) ( _
context As NativeActivityContext, _
value As T, _
parentToBuildDetail As Boolean _
)
public static void Track<T>(
this NativeActivityContext context,
T value,
bool parentToBuildDetail
)
[ExtensionAttribute]
public:
generic<typename T>
static void Track(
NativeActivityContext^ context,
T value,
bool parentToBuildDetail
)
static member Track :
context:NativeActivityContext *
value:'T *
parentToBuildDetail:bool -> unit
JScript does not support generic types or methods.
Type Parameters
- T
Parameters
- context
Type: System.Activities.NativeActivityContext
- value
Type: T
- parentToBuildDetail
Type: System.Boolean
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).
.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
Microsoft.TeamFoundation.Build.Workflow.Activities Namespace