Class DiscoveryError
Represents an error that occurred during the assembly or module discovery process.
public class DiscoveryError
- Inheritance
-
objectDiscoveryError
- Extension Methods
Constructors
DiscoveryError(Exception, string)
Initializes a new instance of the DiscoveryError class with the assembly name (or a file path) and the exception that was raised during the discovery process.
public DiscoveryError(Exception exception, string assemblyNameOrFilePath)
Parameters
exception
ExceptionThe exception that was raised during the discovery process.
assemblyNameOrFilePath
stringThe full name of the assembly (or a file path).
Methods
LogEvent()
Appends this discovery error to the event log.
public void LogEvent()
Remarks
The contents of the event log entry vary depending on the error type.