BaseTaskForm.DisplayErrorMessage(Exception, ResourceManager) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Displays a modal dialog box with an error message, based on the specified exception and resource manager.
protected:
override void DisplayErrorMessage(Exception ^ ex, System::Resources::ResourceManager ^ resourceManager);
protected override void DisplayErrorMessage (Exception ex, System.Resources.ResourceManager resourceManager);
override this.DisplayErrorMessage : Exception * System.Resources.ResourceManager -> unit
Parameters
- resourceManager
- ResourceManager
The ResourceManager object associated with the page.
Examples
The following example duplicates the DisplayErrorMessage method.
protected override int BorderMargin {
get {
return 14;
}
}
Remarks
The DisplayErrorMessage method calls the StopTaskProgress method.