ExpectedExceptionAttribute.Message Property
Gets the message that is associated with the expected exception.
Namespace: Microsoft.VisualStudio.TestTools.UnitTesting
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in microsoft.visualstudio.qualitytools.unittestframework.dll)
Syntax
'Declaration
Public ReadOnly Property Message As String
'Usage
Dim instance As ExpectedExceptionAttribute
Dim value As String
value = instance.Message
public string Message { get; }
public:
property String^ Message {
String^ get ();
}
/** @property */
public String get_Message ()
public function get Message () : String
Property Value
A message associated with an expected exception type.
See Also
Reference
ExpectedExceptionAttribute Class
ExpectedExceptionAttribute Members
Microsoft.VisualStudio.TestTools.UnitTesting Namespace