Freigeben über


IActivityTracking.AddActivityTracking Method

Adds a child activity tracking node.

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

Syntax

'Declaration
Function AddActivityTracking ( _
    activityInstanceId As String, _
    activityType As String, _
    displayText As String _
) As IActivityTracking
IActivityTracking AddActivityTracking(
    string activityInstanceId,
    string activityType,
    string displayText
)
IActivityTracking^ AddActivityTracking(
    String^ activityInstanceId, 
    String^ activityType, 
    String^ displayText
)
abstract AddActivityTracking : 
        activityInstanceId:string * 
        activityType:string * 
        displayText:string -> IActivityTracking
function AddActivityTracking(
    activityInstanceId : String, 
    activityType : String, 
    displayText : String
) : IActivityTracking

Parameters

  • activityInstanceId
    Type: System.String

    The instance ID of the child activity that will be tracked.

  • activityType
    Type: System.String

    The type of the child activity that will be tracked.

  • displayText
    Type: System.String

    The display name of the child activity.

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IActivityTracking
The child activity tracking node.

.NET Framework Security

See Also

Reference

IActivityTracking Interface

Microsoft.TeamFoundation.Build.Client Namespace