Ensures a resource is not visible unless the request context matches a specified configuration.
Inheritance Hierarchy
System.Object
  Microsoft.TeamFoundation.Framework.Server.TfsHostTypeConstraint
Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public NotInheritable Class TfsHostTypeConstraint _
    Implements IRouteConstraint
public sealed class TfsHostTypeConstraint : IRouteConstraint
public ref class TfsHostTypeConstraint sealed : IRouteConstraint
[<Sealed>]
type TfsHostTypeConstraint =  
    class 
        interface IRouteConstraint 
    end
public final class TfsHostTypeConstraint implements IRouteConstraint
The TfsHostTypeConstraint type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | TfsHostTypeConstraint | Initializes a new TfsHostTypeConstraint instance with the specified host type(s). The resource will only be visible if the request context targets one of the specified hosts. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
| .gif) | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | ToString | Returns a string that represents the current object. (Inherited from Object.) | 
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| .gif) .gif) | IRouteConstraint.Match | 
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.