ServiceDescriptionFormatExtensionCollection(Object) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 ServiceDescriptionFormatExtensionCollection 類別的新執行個體。
public:
ServiceDescriptionFormatExtensionCollection(System::Object ^ parent);
public ServiceDescriptionFormatExtensionCollection(object parent);
new System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection : obj -> System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection
Public Sub New (parent As Object)
參數
- parent
- Object
本收藏所屬的物件。
範例
ServiceDescription^ myServiceDescription = ServiceDescription::Read( "Sample_cpp.wsdl" );
ServiceDescriptionFormatExtensionCollection^ myCollection = gcnew ServiceDescriptionFormatExtensionCollection( myServiceDescription );
ServiceDescription myServiceDescription =
ServiceDescription.Read("Sample_CS.wsdl");
ServiceDescriptionFormatExtensionCollection myCollection =
new ServiceDescriptionFormatExtensionCollection(myServiceDescription);
Dim myServiceDescription As ServiceDescription = _
ServiceDescription.Read("Sample_VB.wsdl")
Dim myCollection As New ServiceDescriptionFormatExtensionCollection(myServiceDescription)
備註
由於命名空間中的 System.Web.Services.Description 許多類別會 Extensions 暴露一個屬性,代表 , ServiceDescriptionFormatExtensionCollection建構子會指派一個父物件,對應於 Web Services Description Language(WSDL)階層 ServiceDescriptionFormatExtensionCollection 中當前 層級的巢狀。 欲了解更多關於 WSDL 的資訊,請參閱 WSDL 規範。