Class VersionCheckException
Represents an error that is raised during version checks.
Inheritance
Implements
Inherited Members
Namespace: TimeCockpit.Data.Database
Assembly: TimeCockpit.Data.dll
Syntax
public class VersionCheckException : Exception, _Exception, ISerializable
Constructors
VersionCheckException()
Initializes a new instance of the VersionCheckException class
Declaration
public VersionCheckException()
VersionCheckException(SerializationInfo, StreamingContext)
Initializes a new instance of the VersionCheckException class
Declaration
protected VersionCheckException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |
VersionCheckException(String)
Initializes a new instance of the VersionCheckException class
Declaration
public VersionCheckException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Message describing the cause of the error |
VersionCheckException(String, Exception)
Initializes a new instance of the VersionCheckException class
Declaration
public VersionCheckException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Message describing the cause of the error |
System.Exception | innerException | The exception that is the cause of the current exception, or a null reference if no inner exception is specified. |
Properties
InstallationComponentStatus
Gets or sets the installation component status that led to the exception
Declaration
public InstallationComponentStatus InstallationComponentStatus { get; set; }
Property Value
Type | Description |
---|---|
InstallationComponentStatus |
Methods
GetObjectData(SerializationInfo, StreamingContext)
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 SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |