TestContext.TestException Özellik
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
TestInitialize veya TestMethod adımlarında oluşan özel durumu alır veya ayarlar.
public Exception? TestException { get; protected set; }
[System.Runtime.CompilerServices.Nullable(2)]
public Exception? TestException { get; protected set; }
member this.TestException : Exception with get, set
[<System.Runtime.CompilerServices.Nullable(2)>]
member this.TestException : Exception with get, set
Public Property TestException As Exception
Özellik Değeri
- Öznitelikler
Açıklamalar
Özelliğine her zaman null TestInitialize veya TestMethod adımları sırasında erişilir.