MessageLoggingElement.MaxSizeOfMessageToLog プロパティ

定義

記録するメッセージの最大サイズ (バイト単位) を指定する値を取得または設定します。

public:
 property int MaxSizeOfMessageToLog { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("maxSizeOfMessageToLog", DefaultValue=262144)]
[System.Configuration.IntegerValidator(MinValue=-1)]
public int MaxSizeOfMessageToLog { get; set; }
[<System.Configuration.ConfigurationProperty("maxSizeOfMessageToLog", DefaultValue=262144)>]
[<System.Configuration.IntegerValidator(MinValue=-1)>]
member this.MaxSizeOfMessageToLog : int with get, set
Public Property MaxSizeOfMessageToLog As Integer

プロパティ値

記録するメッセージの最大サイズ (バイト単位)。 サイズが制限より大きいメッセージは、記録されません。 この設定は、すべてのトレース レベルに影響を与えます。 既定は Int32.MaxValue です。

属性

適用対象