Export (0) Print
Expand All

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 string Type { get; set; }

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

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

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

Community Additions

ADD
Show:
© 2014 Microsoft