 | TargetResolveServiceT Method |
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxprotected 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:
T
RemarksAvoid calling this while handling a LogEvent, since random deadlocks can occur.
See Also