Share via


UnitTestAssertException.Message Property

Gets a message that describes the current exception.

Namespace:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

Syntax

'Declaration
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

Property Value

Type: String
A message describing the exception.

Implements

_Exception.Message

.NET Framework Security

See Also

Reference

UnitTestAssertException Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace