Class LicenseException
Summary description for LicenseException.
Inheritance
Implements
Inherited Members
Namespace: ImageVault.Core.License.Meriworks
Assembly: ImageVault.Core.dll
Syntax
public class LicenseException : ApplicationException, ISerializable, _Exception
Constructors
LicenseException()
Initializes a new instance of the LicenseException class.
Declaration
public LicenseException()
LicenseException(SerializationInfo, StreamingContext)
Initializes a new instance of the SignatureNotValidException class with serialized data. ///
Declaration
public LicenseException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
LicenseException(String)
Creates a LicenseException
Declaration
public LicenseException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message of the exception |
LicenseException(String, Exception)
Creates an instance of the LicenseException class.
Declaration
public LicenseException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.Exception | innerException |
LicenseException(String, Object[])
Initializes a new instance of the LicenseException class.
Declaration
public LicenseException(string format, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
System.String | format | |
System.Object[] | args |
Methods
GetObjectData(SerializationInfo, StreamingContext)
When overridden in a derived class, sets the SerializationInfo with information about the exception.
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |