GlobalLogBufferingOptions.MaxLogRecordSizeInBytes 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定每個日誌記錄的最大大小(以位元組為單位)。
public:
property int MaxLogRecordSizeInBytes { int get(); void set(int value); };
[System.ComponentModel.DataAnnotations.Range(1, 10485760)]
public int MaxLogRecordSizeInBytes { get; set; }
[<System.ComponentModel.DataAnnotations.Range(1, 10485760)>]
member this.MaxLogRecordSizeInBytes : int with get, set
Public Property MaxLogRecordSizeInBytes As Integer
屬性值
- 屬性
備註
如果日誌記錄的大小超過這個限制,則不會被緩衝。