PriorityAttribute Constructor
Initializes a new instance of the PriorityAttribute class that has a priority value.
Namespace: Microsoft.VisualStudio.TestTools.UnitTesting
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Syntax
'Declaration
Public Sub New ( _
priority As Integer _
)
public PriorityAttribute(
int priority
)
public:
PriorityAttribute(
int priority
)
new :
priority:int -> PriorityAttribute
public function PriorityAttribute(
priority : int
)
Parameters
- priority
Type: System.Int32
An integer that represents the priority value for the test.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.