ArcGIS Pro 3.2 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.

In This Topic
    LicenseException Constructor(String,Exception)
    In This Topic
    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
    )
    Public Function New( _
       ByVal message As String, _
       ByVal innerException As Exception _
    )

    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

    ArcGIS Pro version: 3 or higher.
    See Also