This documentation is archived and is not being maintained.

MimeContentBinding::Type Property

Gets or sets a value indicating the format of the body of the HTTP transmission.

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

public:
property String^ Type {
	String^ get ();
	void set (String^ value);
}

Property Value

Type: System::String
A string indicating the format of the body of the HTTP transmission. The default value is an empty string ("").

The Web Services Description Language (WSDL) specification defines bindings for several MIME types, including text/xml, multipart/related, and application/x-www-form-urlencoded, although any MIME type can be used. The wildcard character (*) can also be used. For example, the string "text/*" would represent all text types. If the value of this property is not set, the MimeContentBinding specifies all MIME types.

For more information about WSDL, see the specification at http://www.w3.org/TR/wsdl/.

MimeContentBinding_Part_4#1

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: