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
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.