Dil

TestContext.TestException Özellik

Tanım

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.

Şunlara uygulanır