語言

MimePart.Extensions 屬性

定義

取得 所MimeMultipartRelatedBinding屬部分MimePart的 MIME 擴充性元素集合。

public:
 property System::Web::Services::Description::ServiceDescriptionFormatExtensionCollection ^ Extensions { System::Web::Services::Description::ServiceDescriptionFormatExtensionCollection ^ get(); };
public System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection Extensions { get; }
member this.Extensions : System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection
Public ReadOnly Property Extensions As ServiceDescriptionFormatExtensionCollection

屬性值

服務描述格式擴充的集合。

範例

MimePart_3#3

備註

此集合必須至少有一名成員。 若有多個成員,則該成員為當前 MimePart的替代 MIME 格式。 成員可分為以下類型:

這些類別各自暴露一個Part性質,指定與 所關聯的MessagePartMimePart屬性。 若此集合無成員,XML Web 服務在請求時將無法產生 Web Services Description Language(WSDL)檔案。 欲了解更多關於 MIME 如何擴展 WSDL 的資訊,請參閱 WSDL 規範。

適用於