Name

LicenseException

Synopsis

This exception is thrown by LicenseManager.Validate( ) if a component cannot be granted a license.

You can get the type of the component that failed the license validation with the LicensedType property.


public class LicenseException : SystemException {

// Public Constructors

   public LicenseException(Type type);

   public LicenseException(Type type, object instance);

   public LicenseException(Type type, object instance, string message);

   public LicenseException(Type type, object instance, string message, Exception innerException);

// Public Instance Properties

   public Type LicensedType{get; }

}

Hierarchy

System.Object System.Exception(System.Runtime.Serialization.ISerializable) System.SystemException LicenseException

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.