語言

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 網路服務的位址(URL)。

備註

此方法檢查指定網址下的 XML 網路服務元資料。 若未支援指定 Type 內容,則會修改對 ServiceDescription 應描述 XML Web 服務的 Web Services Description Language(WSDL)檔案,以包含該類型。

欲了解更多關於網路服務描述語言(WSDL)的資訊,請參閱 WSDL 規範。

適用於