XamlException.Message 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
接收或設定例外訊息,若有行資訊,則將該行資訊附加於訊息後。
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
屬性值
包含附加行資訊的例外訊息。
備註
XamlException 會覆寫此特性,使行資訊直接包含在訊息中,因此對除錯器或其他例外使用者來說更容易被看到。 若有線路資訊,該性質包含線路資訊。 若無法取得線路資訊,訊息與基礎訊息相同。