Delen via


IActivityTracking.AddAgentScopeActivityTracking Method

Adds a child activity tracking node for an AgentScope activity.

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

Syntax

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

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.IAgentScopeActivityTracking
The child agent scope activity tracking node.

.NET Framework Security

See Also

Reference

IActivityTracking Interface

Microsoft.TeamFoundation.Build.Client Namespace