Share via


BuildServiceHostNotFoundForUriException Constructor (Uri, String)

Initializes a new BuildServiceHostNotFoundForUriException instance.

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

Syntax

'Declaration
Public Sub New ( _
    buildServiceHostUri As Uri, _
    userName As String _
)
public BuildServiceHostNotFoundForUriException(
    Uri buildServiceHostUri,
    string userName
)
public:
BuildServiceHostNotFoundForUriException(
    Uri^ buildServiceHostUri, 
    String^ userName
)
new : 
        buildServiceHostUri:Uri * 
        userName:string -> BuildServiceHostNotFoundForUriException
public function BuildServiceHostNotFoundForUriException(
    buildServiceHostUri : Uri, 
    userName : String
)

Parameters

  • buildServiceHostUri
    Type: System.Uri

    The URI that was queried that did not contain a build service host.

  • userName
    Type: System.String

    The name of the user who queried the build service host.

.NET Framework Security

See Also

Reference

BuildServiceHostNotFoundForUriException Class

BuildServiceHostNotFoundForUriException Overload

Microsoft.TeamFoundation.Build.Client Namespace