StandardBindingElement.Name 属性
定义
获取或设置绑定的名称。Gets or sets the name of the binding.
public:
property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("name", Options=System.Configuration.ConfigurationPropertyOptions.IsKey | System.Configuration.ConfigurationPropertyOptions.IsRequired)]
[System.Configuration.StringValidator(MinLength=1)]
public string Name { get; set; }
[System.Configuration.ConfigurationProperty("name", Options=System.Configuration.ConfigurationPropertyOptions.IsKey)]
[System.Configuration.StringValidator(MinLength=0)]
public string Name { get; set; }
[<System.Configuration.ConfigurationProperty("name", Options=System.Configuration.ConfigurationPropertyOptions.IsKey | System.Configuration.ConfigurationPropertyOptions.IsRequired)>]
[<System.Configuration.StringValidator(MinLength=1)>]
member this.Name : string with get, set
[<System.Configuration.ConfigurationProperty("name", Options=System.Configuration.ConfigurationPropertyOptions.IsKey)>]
[<System.Configuration.StringValidator(MinLength=0)>]
member this.Name : string with get, set
Public Property Name As String
属性值
绑定的名称。The name of the binding.
- 属性
注解
每个绑定实例都具有一个名称和命名空间,结合使用它们可在服务的元数据中唯一标识绑定实例。Each instance of a binding has a name and namespace that together uniquely identify it in the metadata of the service.