BuildAgentNotFoundForUriException Constructor
Initializes a new BuildAgentNotFoundForUriException instance.
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Declaration
Public Sub New ( _
buildAgentUri As Uri, _
userName As String _
)
public BuildAgentNotFoundForUriException(
Uri buildAgentUri,
string userName
)
public:
BuildAgentNotFoundForUriException(
Uri^ buildAgentUri,
String^ userName
)
new :
buildAgentUri:Uri *
userName:string -> BuildAgentNotFoundForUriException
public function BuildAgentNotFoundForUriException(
buildAgentUri : Uri,
userName : String
)
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.