Editare

Partajați prin


Soap12HeaderBinding Class

Definition

Represents a service description format extension applied to an InputBinding or an OutputBinding when an XML Web service supports the SOAP protocol version 1.2. This class cannot be inherited.

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

Remarks

This class specifies how messages, either abstract type definitions or concrete schema definitions, appear within the <Header> element of a SOAP message.

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

Soap12HeaderBinding()

Initializes a new instance of the Soap12HeaderBinding class.

Properties

Encoding

Gets or sets a URI representing the encoding style used to encode the SOAP header.

(Inherited from SoapHeaderBinding)
Fault

Gets or sets the extension type controlling the output in a WSDL document for the headerfault XML element of a SOAP header.

(Inherited from SoapHeaderBinding)
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)
MapToProperty

Gets or sets a value indicating whether the SoapHeaderBinding instance is mapped to a specific property in generated proxy classes.

(Inherited from SoapHeaderBinding)
Message

Gets or sets a value specifying the name of the Message within the XML Web service to which the SoapHeaderBinding applies.

(Inherited from SoapHeaderBinding)
Namespace

Get or sets the URI representing the location of the specification for encoding of content not specifically defined by the Encoding property.

(Inherited from SoapHeaderBinding)
Parent

Gets the parent of the ServiceDescriptionFormatExtension.

(Inherited from ServiceDescriptionFormatExtension)
Part

Gets or sets a value indicating to which MessagePart within the XML Web service the SoapHeaderBinding applies.

(Inherited from SoapHeaderBinding)
Required

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

(Inherited from ServiceDescriptionFormatExtension)
Use

Specifies whether the header is encoded using rules specified by the Encoding property, or is encapsulated within a concrete XML schema.

(Inherited from SoapHeaderBinding)

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