WorkflowServiceAttributes.Name 属性
定义
获取或设置 Web 服务描述语言 (WSDL) 中服务元素中的名称属性值。Gets or sets the value of the name attribute in the service element in Web Services Description Language (WSDL).
public:
property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
public string Name { get; set; }
member this.Name : string with get, set
Public Property Name As String
属性值
Name 属性的值。The value of the Name property.
示例
下面的示例演示如何访问 Name 属性。The following example demonstrates how to access the Name property.
WorkflowServiceAttributes attributes = new WorkflowServiceAttributes();
attributes.Name = "CalculatorService";
Dim attributes As New WorkflowServiceAttributes()
attributes.Name = "CalculatorService"
注解
导出时,此属性对应于 <wsdl:service> 元素。This property corresponds to the <wsdl:service> element when exported. 默认值为 null。The default value is null.