class FileLoadException
The exception that is thrown when a managed assembly is found but cannot be loaded.
public FileLoadException( string message )
Initializes a new instance of the class with the specified error message.
messageA that describes the error. The content of is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
public FileLoadException( string message, Exception inner )
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
messageA that describes the error. The content of is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.innerThe exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
public FileLoadException( string message, string fileName )
Initializes a new instance of the class with a specified error message and the name of the file that could not be loaded.
messageA that describes the error. The content of is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.fileNameA containing the name of the file that was not loaded.
public FileLoadException( string message, string fileName, Exception inner )
Initializes a new instance of the class with a specified error message, the name of the file that could not be loaded, and a reference to the inner exception that is the cause of this exception.
messageA that describes the error. The content of is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.fileNameA containing the name of the file that was not loaded.innerThe exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
public string FileName { get; }
Gets the name of the file that causes this exception.
- Returns A containing the name of the file with the invalid image, or a null reference if no file name was passed to the constructor for the current instance.
public string FusionLog { get; }
Gets the log file that describes why an assembly load failed.
- Returns A string containing errors reported by the assembly cache.
public void GetObjectData( SerializationInfo info, StreamingContext context )
Sets the with the file name and additional exception information.
infoThe that holds the serialized object data about the exception being thrown.contextThe that contains contextual information about the source or destination.
public string Message { get; }
Gets the error message and the name of the file that caused this exception.
- Returns A string containing the error message and the name of the file that caused this exception.
public string HelpLink { get; set; }
😔 No documentation found.
public string Source { get; set; }
😔 No documentation found.
public Exception GetBaseException( )
😔 No documentation found.
public Type GetType( )
😔 No documentation found.
public string StackTrace { get; }
😔 No documentation found.
public Type GetType( )
😔 No documentation found.
public bool Equals( object obj )
😔 No documentation found.
public int GetHashCode( )
😔 No documentation found.
public FileLoadException( )
😔 No documentation found.
public IDictionary Data { get; }
😔 No documentation found.
public string ToString( )
😔 No documentation found.
public Exception InnerException { get; }
😔 No documentation found.
public int HResult { get; set; }
😔 No documentation found.