Show / Hide Table of Contents

Class CorruptedFileException

Exception for corrupted file.

Inheritance
System.Object
System.Exception
CorruptedFileException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
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: Phoenix.DeviceStorage
Assembly: Phoenix.Abstractions.DeviceStorage.dll
Syntax
[Serializable]
public class CorruptedFileException : Exception, ISerializable

Constructors

View Source

CorruptedFileException()

Initializes a new instance of the CorruptedFileException class.

Declaration
public CorruptedFileException()
View Source

CorruptedFileException(SerializationInfo, StreamingContext)

Initializes a new instance of the CorruptedFileException class.

Declaration
protected CorruptedFileException(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.

View Source

CorruptedFileException(String)

Initializes a new instance of the CorruptedFileException class.

Declaration
public CorruptedFileException(string fileName)
Parameters
Type Name Description
System.String fileName

The name of the corrupted file.

View Source

CorruptedFileException(String, Exception)

Initializes a new instance of the CorruptedFileException class.

Declaration
public CorruptedFileException(string fileName, Exception innerException)
Parameters
Type Name Description
System.String fileName

The name of the corrupted file.

System.Exception innerException

The exception that is the cause of the current exception, or a null reference if no inner exception is specified.

Implements

System.Runtime.Serialization.ISerializable

Extension Methods

ExceptionExtensions.FormatLoaderExceptions(Exception)
ExceptionExtensions.FormatMessageAndStackTrace(Exception, Boolean)
  • View Source
In This Article
Back to top Generated by DocFX