Show / Hide Table of Contents

Class InvalidLicenseFileException

The exception that is thrown when the license file is not a valid license file.

Inheritance
System.Object
System.Exception
LicenseException
InvalidLicenseFileException
Implements
System.Runtime.Serialization.ISerializable
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Sartorius.SAF.Licensing
Assembly: Sartorius.SAF.Licensing.dll
Syntax
[Serializable]
public class InvalidLicenseFileException : LicenseException, ISerializable

Constructors

View Source

InvalidLicenseFileException()

Create a new instance of InvalidLicenseFileException class.

Declaration
public InvalidLicenseFileException()
View Source

InvalidLicenseFileException(SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidLicenseFileException class with serialized data.

Declaration
protected InvalidLicenseFileException(SerializationInfo si, StreamingContext ctx)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo si

The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.

System.Runtime.Serialization.StreamingContext ctx

The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.

View Source

InvalidLicenseFileException(String)

Initializes a new instance of the InvalidLicenseFileException class with a specified error message.

Declaration
public InvalidLicenseFileException(string message)
Parameters
Type Name Description
System.String message

The error message that explains the reason for the exception.

View Source

InvalidLicenseFileException(String, Exception)

Initializes a new instance of the InvalidLicenseFileException class with a specified error message.

Declaration
public InvalidLicenseFileException(string message, Exception innerException)
Parameters
Type Name Description
System.String message

The error message that explains the reason for the exception.

System.Exception innerException

The inner exception.

Implements

System.Runtime.Serialization.ISerializable

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
ExceptionExtensions.GetRootException(Exception)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX