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
- 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.
See Also
Reference
BuildServiceHostNotFoundForUriException Class