FileCorruptException.FileCorruptException Constructor

Initializes an instance of the FileCorruptException class.

Overload List

public FileCorruptException()
public FileCorruptException(string)
public FileCorruptException(string, Exception)
protected FileCorruptException(SerializationInfo, StreamingContext)

Initializes an instance of the FileCorruptException class.

Syntax

public FileCorruptException();

FileCorruptException.FileCorruptException Constructor

Initializes an instance of the FileCorruptException class.

Syntax

public FileCorruptException(
   string message
);

Parameters

message

System.String.  A description of the exception.

FileCorruptException.FileCorruptException Constructor

Initializes an instance of the FileCorruptException class.

Syntax

public FileCorruptException(
   string message,
   Exception inner
);

Parameters

message

System.String.  A description of the exception.

inner

System.Exception.  The class on which this exception is based.

FileCorruptException.FileCorruptException Constructor

Initializes an instance of the FileCorruptException class.

Syntax

protected FileCorruptException(
   SerializationInfo info,
   StreamingContext context
);

Parameters

info

System.Runtime.Serialization.SerializationInfo.  An instance of the class containing the information needed to serialize the new FileCorruptException instance.

context

System.Runtime.Serialization.StreamingContext.  A structure that contains contextual information about the source of the serialized stream associated with the new FileCorruptException instance.

Requirements

Reference: Microsoft.MediaCenter

Namespace: Microsoft.MediaCenter.ListMaker

Assembly: Microsoft.MediaCenter.dll

Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later

See Also