Message Property


Gets the error message and the parameter name, or only the error message if no parameter name is set.

Namespace: Autodesk.Revit.Exceptions
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)

Syntax

C#
public override string Message { get; }
Visual Basic
Public Overrides ReadOnly Property Message As String
	Get
Visual C++
public:
virtual property String^ Message {
	String^ get () override;
}

Implements

_ExceptionMessage

Remarks

The text of Message should completely describe the error and should, when possible, explain how to correct it.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →