| 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
<ObsoleteAttribute("Instead use RegisterType<T>, as dynamic Assembly loading will be moved out. Marked obsolete with NLog v5.2")>
Public Class AssemblyLoadingEventArgs
Inherits CancelEventArgs
Dim instance As AssemblyLoadingEventArgs
[<ObsoleteAttribute("Instead use RegisterType<T>, as dynamic Assembly loading will be moved out. Marked obsolete with NLog v5.2")>]
type AssemblyLoadingEventArgs =
class
inherit CancelEventArgs
end
The AssemblyLoadingEventArgs type exposes the following members.
Constructors Properties
| Name | Description |
---|
| Assembly |
The assembly that is trying to load.
|
| Cancel | Gets or sets a value indicating whether the event should be canceled. (Inherited from CancelEventArgs.) |
TopSee Also