Partager via


ServiceLevel Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Server.ServiceLevel

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public NotInheritable Class ServiceLevel _
    Implements IComparable(Of ServiceLevel), IEquatable(Of ServiceLevel)
public sealed class ServiceLevel : IComparable<ServiceLevel>, 
    IEquatable<ServiceLevel>
public ref class ServiceLevel sealed : IComparable<ServiceLevel^>, 
    IEquatable<ServiceLevel^>
[<Sealed>]
type ServiceLevel =  
    class 
        interface IComparable<ServiceLevel>
        interface IEquatable<ServiceLevel>
    end
public final class ServiceLevel implements IComparable<ServiceLevel>, IEquatable<ServiceLevel>

The ServiceLevel type exposes the following members.

Constructors

  Name Description
Public method ServiceLevel(String) Initializes a new instance of ServiceLevel class
Public method ServiceLevel(String, String, Int32, Boolean) Initializes a new instance of ServiceLevel class

Top

Properties

  Name Description
Public property IsDev11
Public property IsTestPatch
Public property MajorVersion
Public property Milestone
Public property PatchNumber
Public propertyStatic member Tfs2010Rtm
Public propertyStatic member Tfs2010SP1

Top

Methods

  Name Description
Public methodStatic member Compare
Public methodStatic member CompareMajorVersions
Public methodStatic member CompareMilestones
Public method CompareTo
Public method Equals(Object) (Overrides Object.Equals(Object).)
Public method Equals(ServiceLevel)
Public method GetHashCode (Overrides Object.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString (Overrides Object.ToString().)
Public methodStatic member TryGetServiceLevelFromOperation

Top

Operators

  Name Description
Public operatorStatic member Equality
Public operatorStatic member GreaterThan
Public operatorStatic member GreaterThanOrEqual
Public operatorStatic member Inequality
Public operatorStatic member LessThan
Public operatorStatic member LessThanOrEqual

Top

Fields

  Name Description
Public fieldStatic member RtmMilestone
Public fieldStatic member SP1Milestone
Public fieldStatic member TfsDev11MajorVersion

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.

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace