ILoggingConfigurationSendToEventLogTraceListener.UsingEventLogSource Method
Specifies the source that should be used when sending messages by this FormattedEventLogTraceListener.
The default source is 'Enterprise Library Logging'.
Namespace: Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Fluent
Assembly: Microsoft.Practices.EnterpriseLibrary.Logging (in Microsoft.Practices.EnterpriseLibrary.Logging.dll) Version: 6.0.0.0 (6.0.1304.0)
Syntax
ILoggingConfigurationSendToEventLogTraceListener UsingEventLogSource(
string source
)
'Declaration
Function UsingEventLogSource (
source As String
) As ILoggingConfigurationSendToEventLogTraceListener
ILoggingConfigurationSendToEventLogTraceListener^ UsingEventLogSource(
String^ source
)
Parameters
- source
Type: System.String
The source that should be used when sending messages.
Return Value
Type: ILoggingConfigurationSendToEventLogTraceListener
Fluent interface that can be used to further configure the created FormattedEventLogTraceListenerData.
See Also
ILoggingConfigurationSendToEventLogTraceListener Interface
ILoggingConfigurationSendToEventLogTraceListener Members
Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Fluent Namespace
Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.FormattedEventLogTraceListener
Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.FormattedEventLogTraceListenerData