BufferModeSettings.Name 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定物件名稱 BufferModeSettings 。
public:
property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("name", DefaultValue="", IsKey=true, IsRequired=true)]
[System.Configuration.StringValidator(MinLength=1)]
public string Name { get; set; }
[<System.Configuration.ConfigurationProperty("name", DefaultValue="", IsKey=true, IsRequired=true)>]
[<System.Configuration.StringValidator(MinLength=1)>]
member this.Name : string with get, set
Public Property Name As String
屬性值
那個物體的名字 BufferModeSettings 。 預設值為空白字串。
- 屬性
範例
以下程式碼範例說明如何使用該 MaxBufferSize 屬性。 此程式碼範例是本類別更大範例 HealthMonitoringSection 的一部分。
bufferModeSetting.Name = "Operations Notification";
bufferModeSetting.Name = "Operations Notification"
備註
需要一個獨特的名稱。