TokenFunction Class
Abstract base for all TokenFunction-derived classes. Provides default algorithm for formatting a token.
Namespace: Microsoft.Practices.EnterpriseLibrary.Logging.Formatters
Assembly: Microsoft.Practices.EnterpriseLibrary.Logging (in Microsoft.Practices.EnterpriseLibrary.Logging.dll) Version: 6.0.0.0 (6.0.1304.0)
Syntax
[ObsoleteAttribute("Use the TokenHandler delegate instead.")]
public abstract class TokenFunction
'Declaration
<ObsoleteAttribute("Use the TokenHandler delegate instead.")>
Public MustInherit Class TokenFunction
[ObsoleteAttribute(L"Use the TokenHandler delegate instead.")]
public ref class TokenFunction abstract
Remarks
Extending this class is not the recommended approach for handling tokens.
Inheritance Hierarchy
System.Object
Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.TokenFunction
See Also
Microsoft.Practices.EnterpriseLibrary.Logging.Formatters Namespace
TextFormatter.TextFormatter(String, IDictionary<String, TokenHandler<LogEntry>>)
Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.TokenHandler<T>
Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.Formatter<T>