Επεξεργασία

Κοινή χρήση μέσω


ServiceDescriptionFormatExtensionCollection(Object) Constructor

Definition

Initializes a new instance of the ServiceDescriptionFormatExtensionCollection class.

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)

Parameters

parent
Object

The object of which this collection is a member.

Examples

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)

Remarks

Since many of the classes in the System.Web.Services.Description namespace expose an Extensions property representing a ServiceDescriptionFormatExtensionCollection, the constructor assigns a parent object corresponding to the level within the Web Services Description Language (WSDL) hierarchy where the current ServiceDescriptionFormatExtensionCollection is nested. For more information about WSDL, see the WSDL specification.

Applies to