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

Namespace:  NLog.Config
Assembly:  NLog (in NLog.dll) Version: 5.3.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
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