ValueCollectionParameterReader 类

定义

用作使用 HTTP 实现但不包含 SOAP 的 Web 服务的传入请求参数的读取器的基类。

public ref class ValueCollectionParameterReader abstract : System::Web::Services::Protocols::MimeParameterReader
public abstract class ValueCollectionParameterReader : System.Web.Services.Protocols.MimeParameterReader
type ValueCollectionParameterReader = class
    inherit MimeParameterReader
Public MustInherit Class ValueCollectionParameterReader
Inherits MimeParameterReader
继承
ValueCollectionParameterReader
派生

注解

ValueCollectionParameterReader 命名空间中的其他 System.Web.Services.Protocols 类通过 HTTP-GET 和 HTTP-POST 操作支持 .NET Framework 的 Web 服务的实现。 Web 服务编写器和读取器分别在 Web 方法的参数或返回对象与 HTTP 请求或响应流之间序列化和反序列化。 Web 服务编写器和读取器使用 HTTP 进行传输,但不使用 SOAP 标准交换消息。 该 ValueCollectionParameterReader 类提供了一种通用 Read 方法,用于将名称/值对集合集合的所有服务端读取器引入 Web 方法参数。 已从传入 HTTP 请求分析名称/值对。

通常不需要直接使用 ValueCollectionParameterReader 或其后代类。 根据 ASP.NET 配置文件(Web.config)中的设置使用适当的类型。

构造函数

名称 说明
ValueCollectionParameterReader()

初始化 ValueCollectionParameterReader 类的新实例。

方法

名称 说明
Equals(Object)

确定指定的对象是否等于当前对象。

(继承自 Object)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetInitializer(LogicalMethodInfo)

返回指定方法的初始值设定项。

GetInitializers(LogicalMethodInfo[])

在派生类中重写时,返回与方法定义的输入数组对应的初始值设定项对象的数组。

(继承自 MimeFormatter)
GetType()

获取当前实例的 Type

(继承自 Object)
Initialize(Object)

初始化实例。

IsSupported(LogicalMethodInfo)

确定方法定义的参数定义是否受 ValueCollectionParameterReader 类支持。

IsSupported(ParameterInfo)

确定类是否支持 ValueCollectionParameterReader 特定参数类型。

MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
Read(HttpRequest)

在派生类中重写时,将 HTTP 请求反序列化为 Web 方法参数值的数组。

(继承自 MimeParameterReader)
Read(NameValueCollection)

将名称/值对的集合转换为表示方法参数值的对象的数组。

ToString()

返回一个表示当前对象的字符串。

(继承自 Object)

适用于

另请参阅