This documentation is archived and is not being maintained.

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)

IAgentScopeActivityTracking^ AddAgentScopeActivityTracking(
	String^ activityInstanceId, 
	String^ activityType, 
	String^ displayText
)

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.

Show: