共用方式為


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, AllowMultiple=false)>]
type PriorityAttribute = class
    inherit Attribute
Public NotInheritable Class PriorityAttribute
Inherits Attribute
Inheritance
PriorityAttribute
Attributes

Constructors

PriorityAttribute(Int32)

Initializes a new instance of the PriorityAttribute class.

Properties

Priority

Gets the priority.

Applies to