Språk

ServiceDescriptionFormatExtensionCollection(Object) Konstruktor

Definition

Initierar en ny instans av ServiceDescriptionFormatExtensionCollection klassen.

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)

Parametrar

parent
Object

Objektet som samlingen är medlem i.

Exempel

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)

Kommentarer

Eftersom många av klasserna i System.Web.Services.Description namnområdet exponerar en Extensions egenskap som representerar en ServiceDescriptionFormatExtensionCollection, tilldelar konstruktorn ett överordnat objekt som motsvarar nivån i WSDL-hierarkin (Web Services Description Language) där strömmen ServiceDescriptionFormatExtensionCollection är kapslad. Mer information om WSDL finns i WSDL-specifikationen .

Gäller för