MessageLoggingElement::LogEntireMessage Property

 

Gets or sets a value that specifies whether the entire message (message header and body) is logged.

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
[ConfigurationPropertyAttribute("logEntireMessage", DefaultValue = false)]
property bool LogEntireMessage {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if the entire message (message header and body) is logged; otherwise, false. The default is false, which means that only the message header is logged.

This setting affects all message logging levels (service, transport, and malformed).

.NET Framework
Available since 3.0
Return to top
Show: