共用方式為


InformationNodeConverters.GetActivityTracking Method (IBuildInformation, String)

Gets an activity tracking node from the specified build information object that has the specified instance ID.

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

Syntax

'Declaration
Public Shared Function GetActivityTracking ( _
    buildInformation As IBuildInformation, _
    activityInstanceId As String _
) As IActivityTracking
public static IActivityTracking GetActivityTracking(
    IBuildInformation buildInformation,
    string activityInstanceId
)
public:
static IActivityTracking^ GetActivityTracking(
    IBuildInformation^ buildInformation, 
    String^ activityInstanceId
)
static member GetActivityTracking : 
        buildInformation:IBuildInformation * 
        activityInstanceId:string -> IActivityTracking
public static function GetActivityTracking(
    buildInformation : IBuildInformation, 
    activityInstanceId : String
) : IActivityTracking

Parameters

  • activityInstanceId
    Type: System.String

    The context ID of the activity tracking node.

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IActivityTracking
The matched activity tracking node, or null if none was found.

.NET Framework Security

See Also

Reference

InformationNodeConverters Class

GetActivityTracking Overload

Microsoft.TeamFoundation.Build.Client Namespace