DekGenius.com
[ Team LiB ] Previous Section Next Section

LicenseException

System.ComponentModel (system.dll)class

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

    [ Team LiB ] Previous Section Next Section