แก้ไข

แชร์ผ่าน


ValueCollectionParameterReader Class

Definition

Serves as a base class for readers of incoming request parameters for Web services implemented using HTTP but without SOAP.

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
Inheritance
ValueCollectionParameterReader
Derived

Remarks

ValueCollectionParameterReader and other classes in the System.Web.Services.Protocols namespace support the .NET Framework's implementations of Web services via the HTTP-GET and HTTP-POST operations. Web service writers and readers serialize and deserialize, respectively, between the parameters or return objects of Web methods and the HTTP request or response streams. Web service writers and readers use HTTP for transport but don't exchange messages using the SOAP standard. The ValueCollectionParameterReader class provides, among other methods, a common Read method for all service-side readers of collections of name/value pairs into Web method parameters. The name/value pairs have been parsed from an incoming HTTP request.

You typically will not need to use ValueCollectionParameterReader or its descendant classes directly. The appropriate types are used according to settings in an ASP.NET configuration file (Web.config).

Constructors

ValueCollectionParameterReader()

Initializes a new instance of the ValueCollectionParameterReader class.

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)
GetInitializer(LogicalMethodInfo)

Returns an initializer for the specified method.

GetInitializers(LogicalMethodInfo[])

When overridden in a derived class, returns an array of initializer objects corresponding to an input array of method definitions.

(Inherited from MimeFormatter)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
Initialize(Object)

Initializes an instance.

IsSupported(LogicalMethodInfo)

Determines whether a method definition's parameter definitions are supported by the ValueCollectionParameterReader class.

IsSupported(ParameterInfo)

Determines whether a particular parameter type is supported by the ValueCollectionParameterReader class.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Read(HttpRequest)

When overridden in a derived class, deserializes an HTTP request into an array of Web method parameter values.

(Inherited from MimeParameterReader)
Read(NameValueCollection)

Translates a collection of name/value pairs into an array of objects representing method parameter values.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also