TfsApiHostTypeConstraint Class
Ensures a resource is not visible unless the request context matches a specified configuration.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Framework.Server.TfsApiHostTypeConstraint
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public NotInheritable Class TfsApiHostTypeConstraint _
Implements IHttpRouteConstraint
public sealed class TfsApiHostTypeConstraint : IHttpRouteConstraint
public ref class TfsApiHostTypeConstraint sealed : IHttpRouteConstraint
[<Sealed>]
type TfsApiHostTypeConstraint =
class
interface IHttpRouteConstraint
end
public final class TfsApiHostTypeConstraint implements IHttpRouteConstraint
The TfsApiHostTypeConstraint type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TfsApiHostTypeConstraint | 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 | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Match | ||
ToString | Returns a string that represents the current object. (Inherited from Object.) |
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.