This documentation is archived and is not being maintained.

BuildAgentNotFoundForUriException Constructor (Uri, String)

Initializes a new BuildAgentNotFoundForUriException instance.

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

public:
BuildAgentNotFoundForUriException(
	Uri^ buildAgentUri, 
	String^ userName
)

Parameters

buildAgentUri
Type: System::Uri

The URI that was queried that did not contain a build agent.

userName
Type: System::String

The name of the user who queried the build definition.

Show: