FileNotFoundException.FileNotFoundException Constructor
Initializes an instance of the FileNotFoundException class.
Overload List
public FileNotFoundException() |
public FileNotFoundException(string) |
public FileNotFoundException(string, string) |
public FileNotFoundException(string, string, Exception) |
public FileNotFoundException(string, Exception) |
protected FileNotFoundException(SerializationInfo, StreamingContext) |
Initializes an instance of the FileNotFoundException class.
Syntax
public FileNotFoundException();
FileNotFoundException.FileNotFoundException Constructor
Initializes an instance of the FileNotFoundException class.
Syntax
public FileNotFoundException(
string message
);
Parameters
message
System.String. A description of the exception.
FileNotFoundException.FileNotFoundException Constructor
Initializes an instance of the FileNotFoundException class.
Syntax
public FileNotFoundException(
string message
string filename
);
Parameters
message
System.String. A description of the exception.
filename
System.String. The name of the file that could not be located.
FileNotFoundException.FileNotFoundException Constructor
Initializes an instance of the FileNotFoundException class.
Syntax
public FileNotFoundException(
string message,
string filename
Exception inner
);
Parameters
message
System.String. A description of the exception.
filename
System.String. The name of the file that could not be located.
inner
System.Exception. The class on which this exception is based.
FileNotFoundException.FileNotFoundException Constructor
Initializes an instance of the FileNotFoundException class.
Syntax
public FileNotFoundException(
string message,
Exception inner
);
Parameters
message
System.String. A description of the exception.
inner
System.Exception. The class on which this exception is based.
FileNotFoundException.FileNotFoundException Constructor
Initializes an instance of the FileNotFoundException class.
Syntax
protected FileNotFoundException(
SerializationInfo info,
StreamingContext context
);
Parameters
info
System.Runtime.Serialization.SerializationInfo. An instance of the class containing the information needed to serialize the new FileNotFoundException instance.
context
System.Runtime.Serialization.StreamingContext. A structure that contains contextual information about the source of the serialized stream associated with the new FileNotFoundException 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