Share via


ILoggingConfigurationSendToMsmqTraceListener.UseEncryption Method

Specifies that messages send to Msmq by this MsmqTraceListener should be encrypted.

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

Syntax

'Declaration
Function UseEncryption As ILoggingConfigurationSendToMsmqTraceListener
ILoggingConfigurationSendToMsmqTraceListener UseEncryption()
ILoggingConfigurationSendToMsmqTraceListener^ UseEncryption()
function UseEncryption() : 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