Share via


ILoggingConfigurationSendToMsmqTraceListener.UseAuthentication Method

Specifies that authentication should be used when sending messages to Msmq by this MsmqTraceListener.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Fluent
Assembly:  Microsoft.Practices.EnterpriseLibrary.Logging (in Microsoft.Practices.EnterpriseLibrary.Logging.dll)

Syntax

'Declaration
Function UseAuthentication As ILoggingConfigurationSendToMsmqTraceListener
ILoggingConfigurationSendToMsmqTraceListener UseAuthentication()
ILoggingConfigurationSendToMsmqTraceListener^ UseAuthentication()
function UseAuthentication() : ILoggingConfigurationSendToMsmqTraceListener

Return Value

Fluent interface that can be used to further configure the created MsmqTraceListenerData.

See Also

ILoggingConfigurationSendToMsmqTraceListener Interface

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Fluent Namespace

Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.MsmqTraceListener

Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.MsmqTraceListenerData