Bagikan melalui


TrackingExtensions.Track<T> Method (CodeActivityContext, T)

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 CodeActivityContext, _
    value As T _
)
public static void Track<T>(
    this CodeActivityContext context,
    T value
)
[ExtensionAttribute]
public:
generic<typename T>
static void Track(
    CodeActivityContext^ context, 
    T value
)
static member Track : 
        context:CodeActivityContext * 
        value:'T -> unit 
JScript does not support generic types or methods.

Type Parameters

  • T

Parameters

  • value
    Type: T

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type CodeActivityContext. 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

See Also

Reference

TrackingExtensions Class

Track Overload

Microsoft.TeamFoundation.Build.Workflow.Activities Namespace