语言

ServiceDescriptionReflector.Reflect(Type, String) 方法

定义

在指定的 URL 上创建一个 ServiceDescription 包含 XML Web 服务的指定 Type 项。

public:
 void Reflect(Type ^ type, System::String ^ url);
public void Reflect(Type type, string url);
member this.Reflect : Type * string -> unit
Public Sub Reflect (type As Type, url As String)

参数

type
Type

Type要反映的类或接口。

url
String

XML Web 服务的地址(URL)。

注解

此方法检查指定 URL 处的 XML Web 服务的元数据。 如果不支持指定 Type ,它将修改与 ServiceDescription 描述 XML Web 服务对应的 Web 服务描述语言(WSDL)文件,以包含该类型。

有关 Web 服务描述语言(WSDL)的详细信息,请参阅 WSDL 规范。

适用于