ILoggingConfigurationSendToWmiTraceListener.WithTraceOptions Method
Specifies which options, or elements, should be included in messages send by this WmiTraceListener.
Namespace: Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Fluent
Assembly: Microsoft.Practices.EnterpriseLibrary.Logging (in Microsoft.Practices.EnterpriseLibrary.Logging.dll)
Syntax
'Declaration
Function WithTraceOptions ( _
traceOptions As TraceOptions _
) As ILoggingConfigurationSendToWmiTraceListener
ILoggingConfigurationSendToWmiTraceListener WithTraceOptions(
TraceOptions traceOptions
)
ILoggingConfigurationSendToWmiTraceListener^ WithTraceOptions(
TraceOptions traceOptions
)
function WithTraceOptions(
traceOptions : TraceOptions
) : ILoggingConfigurationSendToWmiTraceListener
Parameters
- traceOptions
Type: System.Diagnostics.TraceOptions
The options that should be included in the trace output.
Return Value
Fluent interface that can be used to further configure the created WmiTraceListenerData.
See Also
ILoggingConfigurationSendToWmiTraceListener Interface
Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Fluent Namespace
Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.WmiTraceListener
Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.WmiTraceListenerData