| LayoutResolveServiceT Method |
Namespace:
NLog.Layouts
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax protected T ResolveService<T>()
where T : class
Protected Function ResolveService(Of T As Class) As T
Dim returnValue As T
returnValue = Me.ResolveService()
member ResolveService : unit -> 'T when 'T : not struct
Type Parameters
- T
Return Value
Type:
TRemarks Avoid calling this while handling a LogEvent, since random deadlocks can occur
See Also