MessageLoggingElement.LogEntireMessage Property

Definition

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

public:
 property bool LogEntireMessage { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("logEntireMessage", DefaultValue=false)]
public bool LogEntireMessage { get; set; }
[<System.Configuration.ConfigurationProperty("logEntireMessage", DefaultValue=false)>]
member this.LogEntireMessage : bool with get, set
Public Property LogEntireMessage As Boolean

Property Value

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.

Attributes

Remarks

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

Applies to