ConfigurationException.BareMessage Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈