Поделиться через


PriorityAttribute Class

Definition

Priority attribute; used to specify the priority of a unit test.

public ref class PriorityAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false)]
public sealed class PriorityAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Method)]
public sealed class PriorityAttribute : Microsoft.VisualStudio.TestTools.UnitTesting.TestPropertyAttribute
[System.AttributeUsage(System.AttributeTargets.Method)]
public sealed class PriorityAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false)>]
type PriorityAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Method)>]
type PriorityAttribute = class
    inherit TestPropertyAttribute
[<System.AttributeUsage(System.AttributeTargets.Method)>]
type PriorityAttribute = class
    inherit Attribute
Public NotInheritable Class PriorityAttribute
Inherits Attribute
Public NotInheritable Class PriorityAttribute
Inherits TestPropertyAttribute
Inheritance
PriorityAttribute
Inheritance
PriorityAttribute
Attributes

Constructors

PriorityAttribute(Int32)

Initializes a new instance of the PriorityAttribute class.

Properties

Name

Gets the name.

(Inherited from TestPropertyAttribute)
Priority

Gets the priority.

Value

Gets the value.

(Inherited from TestPropertyAttribute)

Applies to