Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

XmlFormCancelEventArgs.Message Property (Microsoft.Office.InfoPath)

Gets or sets the short message that is displayed when the event is cancelled.

Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in microsoft.office.infopath.dll)

public abstract string Message { get; set; }

Property Value

The short error message text.

The value specified for the Message property is displayed at the top of the error message dialog box when the event is cancelled.

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

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

Community Additions

© 2015 Microsoft