DescriptionAttribute Constructor
Initializes a new instance of the DescriptionAttribute class.
Namespace: Microsoft.VisualStudio.TestTools.UnitTesting
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Syntax
'Declaration
Public Sub New ( _
description As String _
)
public DescriptionAttribute(
string description
)
public:
DescriptionAttribute(
String^ description
)
new :
description:string -> DescriptionAttribute
public function DescriptionAttribute(
description : String
)
Parameters
description
Type: StringA short explanation of the test.
Remarks
There is no default value for the Description property. This must be set with the attribute.
.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.