ServiceDescriptionFormatExtension.Handled 属性

定义

获取或设置一个值,该值指示当导入扩展性元素时,导入进程是否使用 ServiceDescriptionFormatExtensionGets or sets a value indicating whether the ServiceDescriptionFormatExtension is used by the import process when the extensibility element is imported.

public:
 property bool Handled { bool get(); void set(bool value); };
public bool Handled { get; set; }
member this.Handled : bool with get, set
Public Property Handled As Boolean

属性值

Boolean

如果导入进程使用 ServiceDescriptionFormatExtension,则为 true;否则为 falsetrue if the ServiceDescriptionFormatExtension is used by the import process; otherwise, false. 默认为 falseThe default is false.

注解

派生类(表示添加到 XML Web service 中的扩展性元素)可以 ServiceDescription 通过使用 Import wsdl.exe 工具) 所使用的方法 (附加到。A derived class, representing an extensibility element added to an XML Web service, can be attached to a ServiceDescription by using the Import method (which is used by the wsdl.exe tool). 你还可以使用派生自类的自定义类 SoapExtensionImporter 来扩展导入进程以处理自定义扩展性元素。You can also use a custom class derived from the SoapExtensionImporter class to extend the import process to handle custom extensibility elements.

适用于

另请参阅