ILoggingConfigurationSendToEventLogTraceListener.WithTraceOptions Method
Specifies which options, or elements, should be included in messages send by this FormattedEventLogTraceListener.
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 WithTraceOptions(
TraceOptions traceOptions
)
'Declaration
Function WithTraceOptions (
traceOptions As TraceOptions
) As ILoggingConfigurationSendToEventLogTraceListener
ILoggingConfigurationSendToEventLogTraceListener^ WithTraceOptions(
TraceOptions traceOptions
)
Parameters
- traceOptions
Type: System.Diagnostics.TraceOptions
The options that should be included in the trace output.
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.Configuration.FormattedEventLogTraceListenerData