Error.DetailedErrorMessage Property
Gets or sets the detailed error message of an ErrorObject object.
Namespace: Microsoft.Office.Interop.InfoPath
Assembly: Microsoft.Office.Interop.InfoPath (in microsoft.office.interop.infopath.dll)
Syntax
'Declaration
'Usage
Remarks
The detailed error message is the longer error message that users can choose to view when data validation fails in their forms.
Example
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.DetailedErrorMessage);
See Also
Reference
Error Interface
Error Members
Microsoft.Office.Interop.InfoPath Namespace