This documentation is archived and is not being maintained.

ServiceDescriptionFormatExtensionCollection Constructor

Initializes a new instance of the ServiceDescriptionFormatExtensionCollection class.

[Visual Basic]
Public Sub New( _
   ByVal parent As Object _
)
[C#]
public ServiceDescriptionFormatExtensionCollection(
   object parent
);
[C++]
public: ServiceDescriptionFormatExtensionCollection(
   Object* parent
);
[JScript]
public function ServiceDescriptionFormatExtensionCollection(
   parent : Object
);

Parameters

parent
The object of which this collection is a member.

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 specification at http://www.w3.org/TR/wsdl/.

Example

[Visual Basic] 
Dim myServiceDescription As ServiceDescription = _
        ServiceDescription.Read("Sample_VB.wsdl")
Dim myCollection As New ServiceDescriptionFormatExtensionCollection(myServiceDescription)

[C#] 
ServiceDescription myServiceDescription = 
   ServiceDescription.Read("Sample_CS.wsdl");
ServiceDescriptionFormatExtensionCollection  myCollection = 
   new ServiceDescriptionFormatExtensionCollection(myServiceDescription);

[C++] 
ServiceDescription* myServiceDescription =
   ServiceDescription::Read(S"Sample_cpp.wsdl");
ServiceDescriptionFormatExtensionCollection* myCollection = new ServiceDescriptionFormatExtensionCollection(myServiceDescription);

[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button Language Filter in the upper-left corner of the page.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ServiceDescriptionFormatExtensionCollection Class | ServiceDescriptionFormatExtensionCollection Members | System.Web.Services.Description Namespace

Show: