Click or drag to resize

AssemblyLoadingEventArgs Class

Note: This API is now obsolete.

Obsolete since dynamic assembly loading is not compatible with publish as trimmed application. Event notification about trying to load assembly with NLog extensions.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    System.ComponentModelCancelEventArgs
      NLog.ConfigAssemblyLoadingEventArgs

Namespace:  NLog.Config
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
[ObsoleteAttribute("Instead use RegisterType<T>, as dynamic Assembly loading will be moved out. Marked obsolete with NLog v5.2")]
public class AssemblyLoadingEventArgs : CancelEventArgs

The AssemblyLoadingEventArgs type exposes the following members.

Constructors
  NameDescription
Public methodAssemblyLoadingEventArgs
Initializes a new instance of the AssemblyLoadingEventArgs class.
Top
Properties
  NameDescription
Public propertyAssembly
The assembly that is trying to load.
Public propertyCancel
Gets or sets a value indicating whether the event should be canceled.
(Inherited from CancelEventArgs.)
Top
See Also