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"
注解
需要唯一名称。