Compartilhar via


TraceListenerCustomFactory.Create Method

Include Protected Members
Include Inherited Members

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.

Overload List

  Name Description
Public method Create(IBuilderContext, String, IConfigurationSource, ConfigurationReflectionCache)
This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Returns a new instance of a concrete subtype of TObject, described by the matching configuration object of a concrete subtype of TConfiguration found in the configurationSource under the name name.
(Inherited from AssemblerBasedCustomFactory<TObject, TConfiguration>.)
Public method Create(IBuilderContext, TraceListenerData, IConfigurationSource, ConfigurationReflectionCache)
This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Builds a TraceListener based on an instance of a subclass of TraceListenerData.
(Overrides AssemblerBasedObjectFactory<TObject, TConfiguration>.Create(IBuilderContext, TConfiguration, IConfigurationSource, ConfigurationReflectionCache).)
Public method Create(IBuilderContext, String, IConfigurationSource, ConfigurationReflectionCache, TraceListenerCustomFactory.TraceListenerCache)
This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Builds a TraceListener based on the configuration found for the given name in the configuration source if an instance for the name is not found in the cache, returns the existing instance from the cache otherwise.

See Also

TraceListenerCustomFactory Class

TraceListenerCustomFactory Members

Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners Namespace

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.