ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources]

G. andrew Duthie; matthew Macdonald

نسخه متنی -صفحه : 873/ 304
نمايش فراداده

SoapBindingUseserializable

System.Web.Services.Description (system.web.services.dll)enum

This enumeration applies to SOAP extensibility elements and specifies the XML encoding of a message. Encoded specifies that the message parts are encoded using the given encoding rules (which are usually specified in a corresponding Encoding property), while Literal indicates that the message parts represent a concrete schema and Default specifies an empty string for the corresponding XML use attribute. Classes that use this enumeration expose a Use property (as in SoapBodyBinding.Use and SoapFaultBinding.Use).

public enum 

SoapBindingUse {

Default = 0 ,

Encoded = 1 ,

Literal = 2 }

Hierarchy

System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) SoapBindingUse

Returned By

SoapBodyBinding.Use, SoapFaultBinding.Use, SoapHeaderBinding.Use, SoapHeaderFaultBinding.Use, System.Web.Services.Protocols.SoapDocumentMethodAttribute.Use, System.Web.Services.Protocols.SoapDocumentServiceAttribute.Use

Passed To

SoapBodyBinding.Use, SoapFaultBinding.Use, SoapHeaderBinding.Use, SoapHeaderFaultBinding.Use, System.Web.Services.Protocols.SoapDocumentMethodAttribute.Use, System.Web.Services.Protocols.SoapDocumentServiceAttribute.{SoapDocumentServiceAttribute( ), Use}