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
- 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.