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
Available since 1.1
Return to top
Show: