Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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 with get
function get IsTestInitializeFailed () : boolean
Property Value
Type: 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