ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Licensing.Exceptions Namespace / LicenseException Class / LicenseException Constructor / LicenseException Constructor(String,Exception)
The error message that explains the reason for the exception.
The exception that is the cause of the current exception.

LicenseException Constructor(String,Exception)
Initializes a new instance of the LicenseException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Syntax
public LicenseException( 
   string message,
   Exception innerException
)

Parameters

message
The error message that explains the reason for the exception.
innerException
The exception that is the cause of the current exception.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 3.0 or higher.
See Also