XmlFormCancelEventArgs.MessageDetails property

Gets or sets the detailed message when the event is cancelled.

Namespace:  Microsoft.Office.InfoPath
Assembly:  Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)

Syntax

'Declaration
Public MustOverride Property MessageDetails As String
    Get
    Set
'Usage
Dim instance As XmlFormCancelEventArgs
Dim value As String

value = instance.MessageDetails

instance.MessageDetails = value
public abstract string MessageDetails { get; set; }

Property value

Type: System.String
The detailed error message text.

Remarks

The value specified for the MessageDetails property when the user clicks the Details button in the error message dialog box.

For information about which events can utilize the MessageDetails property, see XmlFormCancelEventArgs.

This type or member can be accessed from code running in forms opened in Microsoft InfoPath Filler or in a Web browser.

See also

Reference

XmlFormCancelEventArgs class

XmlFormCancelEventArgs members

Microsoft.Office.InfoPath namespace