AfterTestInitializeEventArgs.IsTestInitializeFailed Property
Gets a value that indicates whether the test method that has the TestInitializeAttribute applied has failed to be initialized because of an exception.
Namespace: Microsoft.VisualStudio.TestTools.UnitTesting
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Syntax
'Declaration
Public ReadOnly Property IsTestInitializeFailed As Boolean
public bool IsTestInitializeFailed { get; }
public:
property bool IsTestInitializeFailed {
bool get ();
}
member IsTestInitializeFailed : bool
function get IsTestInitializeFailed () : boolean
Property Value
Type: System.Boolean
true if the test method that has the TestInitializeAttribute applied has not been initialized because of an exception; otherwise, false.
.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.
See Also
Reference
AfterTestInitializeEventArgs Class