AfterClassInitializeEventArgs.IsClassInitializeFailed Property
Gets a value that indicates whether the class that has the ClassInitializeAttribute has not 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 IsClassInitializeFailed As Boolean
public bool IsClassInitializeFailed { get; }
public:
property bool IsClassInitializeFailed {
bool get ();
}
member IsClassInitializeFailed : bool
function get IsClassInitializeFailed () : boolean
Property Value
Type: System.Boolean
true if the class that has the ClassInitializeAttribute has not 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.