Share via


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

See Also

Reference

AfterClassInitializeEventArgs Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace