แก้ไข

แชร์ผ่าน


HttpUrlEncodedBinding Class

Definition

Represents an extensibility element added to an InputBinding within an XML Web service. This class cannot be inherited.

public ref class HttpUrlEncodedBinding sealed : System::Web::Services::Description::ServiceDescriptionFormatExtension
[System.Web.Services.Configuration.XmlFormatExtension("urlEncoded", "http://schemas.xmlsoap.org/wsdl/http/", typeof(System.Web.Services.Description.InputBinding))]
public sealed class HttpUrlEncodedBinding : System.Web.Services.Description.ServiceDescriptionFormatExtension
[<System.Web.Services.Configuration.XmlFormatExtension("urlEncoded", "http://schemas.xmlsoap.org/wsdl/http/", typeof(System.Web.Services.Description.InputBinding))>]
type HttpUrlEncodedBinding = class
    inherit ServiceDescriptionFormatExtension
Public NotInheritable Class HttpUrlEncodedBinding
Inherits ServiceDescriptionFormatExtension
Inheritance
Attributes

Remarks

This class specifies that the incoming data will be in the format"name=value&name=value", encoded from an HTML form, regardless of whether the value of the Method attribute of the form is POST or GET.

Note that this encoding is derived from a feature of HTML and is not specific to the HtmlForm class, although the HtmlForm class does support it. For more information about specifying protocols for XML Web services, see XML Web Services Using ASP.NET. For more information about Web Services Description Language (WSDL), see the WSDL specification.

Constructors

HttpUrlEncodedBinding()

Initializes a new instance of the HttpUrlEncodedBinding class.

Properties

Handled

Gets or sets a value indicating whether the ServiceDescriptionFormatExtension is used by the import process when the extensibility element is imported.

(Inherited from ServiceDescriptionFormatExtension)
Parent

Gets the parent of the ServiceDescriptionFormatExtension.

(Inherited from ServiceDescriptionFormatExtension)
Required

Gets or sets a value indicating whether the ServiceDescriptionFormatExtension is necessary for the action to which it refers.

(Inherited from ServiceDescriptionFormatExtension)

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to