Share via


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)

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

See Also

Reference

BuildAgentNotFoundForUriException Class

BuildAgentNotFoundForUriException Overload

Microsoft.TeamFoundation.Build.Client Namespace