Edit

Share via


LocalEndpointSettings.SupportedMimePartContentTypes Property

Definition

Gets or sets the list of content types that can be supported by the endpoint.

public:
 property System::Collections::Generic::IEnumerable<System::Net::Mime::ContentType ^> ^ SupportedMimePartContentTypes { System::Collections::Generic::IEnumerable<System::Net::Mime::ContentType ^> ^ get(); void set(System::Collections::Generic::IEnumerable<System::Net::Mime::ContentType ^> ^ value); };
public System.Collections.Generic.IEnumerable<System.Net.Mime.ContentType> SupportedMimePartContentTypes { get; set; }
member this.SupportedMimePartContentTypes : seq<System.Net.Mime.ContentType> with get, set
Public Property SupportedMimePartContentTypes As IEnumerable(Of ContentType)

Property Value

Remarks

The content type of any MIME part with handling="required" should be in this list. Otherwise, incoming calls will be rejected automatically.

Applies to