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;
}
public override function get Message () : String

Property Value

Type: System.String
A message describing the exception.

Implements

_Exception.Message

.NET Framework Security

See Also

Reference

UnitTestAssertException Class

UnitTestAssertException Members

Microsoft.VisualStudio.TestTools.UnitTesting Namespace