Editar

Compartilhar via


ConfigurationException.BareMessage Property

Definition

Gets a description of why this configuration exception was thrown.

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

Property Value

A description of why this ConfigurationException exception was thrown.

Remarks

The BareMessage property does not contain the name of the configuration file, nor the line number at which this ConfigurationException exception occurred. If you want a message that contains the name of the configuration file and the line number, along with the message returned by the BareMessage property, use the Message property.

Applies to