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
'Usage
Dim instance As UnitTestAssertException
Dim value As String

value = instance.Message
public override string Message { get; }
public:
virtual property String^ Message {
    String^ get () override;
}
/** @property */
public String get_Message ()
public override function get Message () : String

Property Value

A message describing the exception.

See Also

Reference

UnitTestAssertException Class
UnitTestAssertException Members
Microsoft.VisualStudio.TestTools.UnitTesting Namespace