Class LicenseException
- Namespace
- IntentSharp.Licensing
- Assembly
- IntentSharp.dll
Thrown by Build() when the license stops the client from being built: always for
VersionGated (a paid key whose maintenance ended before this build was released), and for
None, Invalid and EvaluationExpired
only when FailWhenUnlicensed is set. With AddIntentSharp it is thrown,
unwrapped, when the host starts (or, without a host, when the client is first resolved). It is never thrown by a
request on a client that was built.
public sealed class LicenseException : IntentSharpException, ISerializable
- Inheritance
-
objectExceptionLicenseException
- Implements
-
ISerializable
- Inherited Members
-
Exception.GetBaseException()Exception.GetType()Exception.ToString()Exception.DataException.HelpLinkException.HResultException.InnerExceptionException.MessageException.SourceException.StackTraceException.TargetSiteobject.Equals(object)object.Equals(object, object)object.GetHashCode()object.ReferenceEquals(object, object)
- Extension Methods
Constructors
- LicenseException(LicenseStatus)
Creates the exception for a license that stopped the client from being built, with the status notice as the message.
- LicenseException(LicenseStatus, string)
Creates the exception for a license that stopped the client from being built, with its own message.
Properties
- State
Shortcut for
Status.State.