SoapServerMethod 类

定义

表示 XML Web services 方法的特性和元数据。Represents the attributes and metadata for an XML Web service method. 无法继承此类。This class cannot be inherited.

public ref class SoapServerMethod sealed
public sealed class SoapServerMethod
type SoapServerMethod = class
Public NotInheritable Class SoapServerMethod
继承
SoapServerMethod

构造函数

SoapServerMethod()

创建一个新的 SoapServerMethodCreates a new SoapServerMethod.

SoapServerMethod(Type, LogicalMethodInfo)

创建一个新的 SoapServerMethodCreates a new SoapServerMethod.

属性

Action

获取发送给此 XML Web services 方法的 SOAP 请求的 SOAPAction HTTP 标头字段。Gets the SOAPAction HTTP header field of SOAP requests that are sent to this XML Web service method.

BindingUse

获取一个 SoapBindingUse 值,该值指定是将发送给此 XML Web services 方法的 SOAP 消息的各部分编码为抽象类型定义还是具体架构定义。Gets a SoapBindingUse value that specifies whether the parts of SOAP messages sent to this XML Web service method are encoded as abstract type definitions or concrete schema definitions.

InHeaderMappings

获取发送至此 Web 服务方法的 SOAP 请求所使用的 XmlMembersMappingGets the XmlMembersMapping used with SOAP requests to this Web service method.

InHeaderSerializer

获取发送至此 Web 服务方法的 SOAP 请求所使用的 XmlSerializerGets the XmlSerializer used with SOAP requests to this Web service method.

MethodInfo

获取与此 XML Web services 方法关联的 LogicalMethodInfoGets the LogicalMethodInfo associated with this XML Web service method.

OneWay

获取一个 Boolean,该值指示 XML Web services 客户端是否等待 Web 服务器完成对此 XML Web services 方法的处理。Gets a Boolean that indicates whether an XML Web service client waits for the Web server to finish processing this XML Web service method.

OutHeaderMappings

获取来自此 Web 服务方法的 SOAP 响应所使用的 XmlMembersMappingGets the XmlMembersMapping used with SOAP responses from this Web service method.

OutHeaderSerializer

获取来自此 Web 服务方法的 SOAP 响应所使用的 XmlSerializerGets the XmlSerializer used with SOAP responses from this Web service method.

ParameterSerializer

获取传递给此 Web 服务方法的参数所使用的 XmlSerializerGets the XmlSerializer used with parameters that are passed to this Web service method.

ParameterStyle

获取 SoapParameterStyle 对象,该对象指定在发送到此 XML Web services 方法的 SOAP 消息中如何格式化参数。Gets a SoapParameterStyle object that specifies how parameters are formatted in SOAP messages sent to this XML Web service method.

ReturnSerializer

获取来自此 Web 服务方法的返回值所使用的 XmlSerializerGets the XmlSerializer used with return values from this Web service method.

Rpc

获取一个 Boolean,它指示发送至和源自此 XML Web services 方法的 SOAP 消息是否使用 RPC 格式设置。Gets a Boolean that indicates whether SOAP messages sent to and from this XML Web service method use RPC formatting.

WsiClaims

获取 WsiProfiles 值,该值指示此 Web 服务声明符合的 Web Services Interoperability (WSI) 规范。Gets a WsiProfiles value that indicates the Web Services Interoperability (WSI) specification to which this Web service claims to conform.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于