MimePart.Extensions Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the collection of MIME extensibility elements for the part of the MimeMultipartRelatedBinding of which the MimePart is a member.

Namespace:   System.Web.Services.Description
Assembly:  System.Web.Services (in System.Web.Services.dll)

public ServiceDescriptionFormatExtensionCollection Extensions { get; }

Property Value

Type: System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection

A collection of service description format extension.

This collection must have at least one member. If it has more than one member, the members are alternative MIME formats for the current MimePart. Members can be of the following types:

Each of these classes exposes a Part property specifying the MessagePart with which the MimePart is associated. If this collection has no members, the XML Web service will fail to generate a Web Services Description Language (WSDL) file when it is requested. For more information about how MIME extends WSDL, see the specification at http://www.w3.org/TR/wsdl/.


.NET Framework
Available since 1.1
Return to top