ShowErrorMessageEventArgs Class
- Namespace
TXTextControl.ServerVisualisation
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. Core. SDK
- Assembly
TXTextControl.Server. Core. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. Core. SDK TXTextControl.from the setup.Server. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.Server. dll
- Inherits
- Event
Args - Show
Error Message Event Args
- Event
Description
The ShowErrorMessageEventArgs class provides a string which should be shown as an error message for the end-user. It is used with the ServerVisualization.DialogViewGenerator.ShowErrorMessage event.
Syntax
public class ShowErrorMessageEventArgs : EventArgsPublic Class ShowErrorMessageEventArgs
Inherits EventArgsExamples
The following example includes the error message value from a Show Error Message Event Args object in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Error Message: {showErrorMessageEventArgs.ErrorMessage}");
Console.WriteLine("Show Error Message Event Args is ready for use.");Console.WriteLine($"Error Message: {showErrorMessageEventArgs.ErrorMessage}")
Console.WriteLine("Show Error Message Event Args is ready for use.")Members
Properties
| Property | Description |
|---|---|
| Caption | Gets a caption string. If there is no caption string, the property value is null. |
| ErrorMessage | Gets the error message. |