FormattedDatabaseTraceListenerAssembler.Assemble Method
Retired Content |
---|
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The latest Enterprise Library information can be found at the Enterprise Library site. |
This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Builds a FormattedDatabaseTraceListener based on an instance of FormattedDatabaseTraceListenerData.
Namespace: Microsoft.Practices.EnterpriseLibrary.Logging.Database.Configuration
Assembly: Microsoft.Practices.EnterpriseLibrary.Logging.Database (in Microsoft.Practices.EnterpriseLibrary.Logging.Database.dll)
Syntax
'Declaration
Public Overrides Function Assemble ( _
context As IBuilderContext, _
objectConfiguration As TraceListenerData, _
configurationSource As IConfigurationSource, _
reflectionCache As ConfigurationReflectionCache _
) As TraceListener
public override TraceListener Assemble(
IBuilderContext context,
TraceListenerData objectConfiguration,
IConfigurationSource configurationSource,
ConfigurationReflectionCache reflectionCache
)
public:
virtual TraceListener^ Assemble(
IBuilderContext^ context,
TraceListenerData^ objectConfiguration,
IConfigurationSource^ configurationSource,
ConfigurationReflectionCache^ reflectionCache
) override
public override function Assemble(
context : IBuilderContext,
objectConfiguration : TraceListenerData,
configurationSource : IConfigurationSource,
reflectionCache : ConfigurationReflectionCache
) : TraceListener
Parameters
- context
Type: IBuilderContext
The IBuilderContext that represents the current building process.
- objectConfiguration
Type: Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.TraceListenerData
The configuration object that describes the object to build. Must be an instance of FormattedDatabaseTraceListenerData.
- configurationSource
Type: IConfigurationSource
The source for configuration objects.
- reflectionCache
Type: ConfigurationReflectionCache
The cache to use retrieving reflection information.
Return Value
A fully initialized instance of FormattedDatabaseTraceListener.
Implements
IAssemblerAssemble(IBuilderContext, UTP, IConfigurationSource, ConfigurationReflectionCache)
See Also
FormattedDatabaseTraceListenerAssembler Class
Microsoft.Practices.EnterpriseLibrary.Logging.Database.Configuration Namespace
Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.TraceListenerCustomFactory