Udostępnij za pośrednictwem


Właściwość UnitTestAssertException.Message —

Pobiera komunikat, który opisuje bieżący wyjątek.

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.UnitTesting
Zestaw:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (w Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

Składnia

'Deklaracja
Public Overrides ReadOnly Property Message As String
public override string Message { get; }
public:
virtual property String^ Message {
    String^ get () override;
}
abstract Message : string with get
override Message : string with get
override function get Message () : String

Wartość właściwości

Typ: System.String
Komunikat z opisem wyjątek.

Implementuje

_Exception.Message

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

UnitTestAssertException Klasa

Przestrzeń nazw Microsoft.VisualStudio.TestTools.UnitTesting