Error.DetailedErrorMessage Property

Definition

Gets or sets the detailed error message of an ErrorObject object.

public:
 property System::String ^ DetailedErrorMessage { System::String ^ get(); void set(System::String ^ value); };
public string DetailedErrorMessage { get; set; }
member this.DetailedErrorMessage : string with get, set
Public Property DetailedErrorMessage As String

Property Value

Examples

In the following example, the DetailedErrorMessage property of the ErrorObject object is used to display the detailed message of an error in a message box:

ErrorObject er = thisXDocument.Errors[0];
IXMLDOMNode myNode = er.Node;
thisXDocument.UI.Alert("this is the long: " + er.<span class="label">DetailedErrorMessage</span>);

Remarks

The detailed error message is the longer error message that users can choose to view when data validation fails in their forms.

Applies to