Language

SqlException.Message Property

Definition

Gets the text describing the error.

For new development, use Microsoft.Data.SqlClient. This page documents System.Data.SqlClient.

public:
 virtual property System::String ^ Message { System::String ^ get(); };
public override string Message { get; }
member this.Message : string
Public Overrides ReadOnly Property Message As String

Property Value

The text describing the error.

Applies to