UnsupportedFileException.UnsupportedFileException Constructor
Initializes an instance of the UnsupportedFileException class.
Overload List
public UnsupportedFileException() |
public UnsupportedFileException(string) |
public UnsupportedFileException(string, string) |
public UnsupportedFileException(string, string, Exception) |
public UnsupportedFileException(string, string, Exception) |
protected UnsupportedFileException(SerializationInfo, StreamingContext) |
See Also
Initializes an instance of the UnsupportedFileException class.
Syntax
public UnsupportedFileException();
UnsupportedFileException.UnsupportedFileException Constructor
Initializes an instance of the UnsupportedFileException class.
Syntax
public UnsupportedFileException(
string message
);
Parameters
message
System.String. A description of the exception.
UnsupportedFileException.UnsupportedFileException Constructor
Initializes an instance of the UnsupportedFileException class.
Syntax
public UnsupportedFileException(
string message
string filename
);
Parameters
message
System.String. A description of the exception.
filename
System.String. The name of the file that is corrupted or in an unsupported format.
UnsupportedFileException.UnsupportedFileException Constructor
Initializes an instance of the UnsupportedFileException class.
Syntax
public UnsupportedFileException(
string message,
string filename
Exception inner
);
Parameters
message
System.String. A description of the exception.
filename
System.String. The name of the file that is corrupted or in an unsupported format.
inner
System.Exception. The class on which this exception is based.
UnsupportedFileException.UnsupportedFileException Constructor
Initializes an instance of the UnsupportedFileException class.
Syntax
public UnsupportedFileException(
string message,
Exception inner
);
Parameters
message
System.String. A description of the exception.
inner
System.Exception. The class on which this exception is based.
UnsupportedFileException.UnsupportedFileException Constructor
Initializes an instance of the UnsupportedFileException class.
Syntax
protected UnsupportedFileException(
SerializationInfo info,
StreamingContext context
);
Parameters
info
System.Runtime.Serialization.SerializationInfo. An instance of the class containing the information needed to serialize the new UnsupportedFileException instance.
context
System.Runtime.Serialization.StreamingContext. A structure that contains contextual information about the source of the serialized stream associated with the new UnsupportedFileException instance.
Requirements
Reference: Microsoft.MediaCenter
Namespace: Microsoft.MediaCenter.ListMaker
Assembly: Microsoft.MediaCenter.dll
Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later