Class ExceptionHelper
Inheritance
Namespace: IronSoftware.Exceptions
Assembly: IronPdf.dll
Syntax
public static class ExceptionHelper : Object
ExceptionHelper is the object IronPDF C# code works with for error handling. It is part of the IronPDF error handling API.
ExceptionHelper matters when an application needs to configure or invoke error handling from C# code. The class encapsulates the related options and behavior in a single object that is set up once and reused across render or processing calls. Typical scenarios include batch generation pipelines, templated document workflows, and integration with existing C# document services.
To use ExceptionHelper, instantiate or obtain it from the relevant entry point in the IronPDF C# API. Key methods include Message. Assign options or invoke methods on the instance to configure or perform the operation.
using IronPdf;
// Obtain ExceptionHelper from the relevant entry point in the IronPDF API
void Configure(ExceptionHelper instance)
{
instance.Message();
}For the broader workflow, see the IronPDF C# documentation for related how-to guides and examples. For broader context, the error handling portion of the IronPDF C# API contains related types that work with ExceptionHelper directly. ExceptionHelper exposes additional members beyond those highlighted above; the reference tables on this page list the full set. In application code, treat ExceptionHelper as a configured object that is constructed once and reused across operations rather than instantiated per call. Configuration is generally idempotent: assigning the same property value twice has the same effect as assigning it once. For diagnostic purposes, inspect the relevant ExceptionHelper property after each operation to confirm the configured state. See the constructors, properties, and methods tables below for the complete API surface of ExceptionHelper. Application code typically obtains or instantiates a single ExceptionHelper and shares it across multiple IronPDF operations rather than recreating it per call. For multi-threaded scenarios, follow the threading guidance for the relevant IronPDF entry point; ExceptionHelper instances are not assumed to be thread-safe unless documented.
Methods
Message(String, String, String, String)
Declaration
public static string Message(string message, string helpUrl, string issueCode = null, string issueDetail = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message | |
| System.String | helpUrl | |
| System.String | issueCode | |
| System.String | issueDetail |
Returns
| Type | Description |
|---|---|
| System.String |