Rediger

Del via


ExceptionDetail.Message Property

Definition

Gets or sets the message from the exception passed to the constructor.

public:
 property System::String ^ Message { System::String ^ get(); void set(System::String ^ value); };
public:
 property System::String ^ Message { System::String ^ get(); };
[System.Runtime.Serialization.DataMember]
public string Message { get; set; }
[System.Runtime.Serialization.DataMember]
public string Message { get; }
[<System.Runtime.Serialization.DataMember>]
member this.Message : string with get, set
[<System.Runtime.Serialization.DataMember>]
member this.Message : string
Public Property Message As String
Public ReadOnly Property Message As String

Property Value

The exception message.

Attributes

Remarks

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

Applies to