Table of Contents

Class DiscoveryError

Namespace
CMS.Core
Assembly
CMS.Core.dll

Represents an error that occurred during the assembly or module discovery process.

public class DiscoveryError
Inheritance
object
DiscoveryError
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 Exception

The exception that was raised during the discovery process.

assemblyNameOrFilePath string

The 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.