Bearbeiten

Freigeben über


MimeReturnReader Class

Definition

Provides a common base implementation for readers of incoming response return values for Web service clients implemented using HTTP but without SOAP.

public ref class MimeReturnReader abstract : System::Web::Services::Protocols::MimeFormatter
public abstract class MimeReturnReader : System.Web.Services.Protocols.MimeFormatter
type MimeReturnReader = class
    inherit MimeFormatter
Public MustInherit Class MimeReturnReader
Inherits MimeFormatter
Inheritance
MimeReturnReader
Derived

Remarks

MimeReturnReader 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 MimeReturnReader class establishes a common Read interface for all client-side reading of HTTP response streams into Web method return values.

You typically will not need to use MimeReturnReader or its descendant classes directly. Instead, when the Wsdl.exe tool generates client proxy code according to the HTTP-GET or HTTP-POST implementations, it applies the HttpMethodAttribute to each Web method and sets the attribute's ReturnFormatter property to the XmlReturnReader class, which is derived from MimeReturnReader.

Constructors

MimeReturnReader()

Initializes a new instance of the MimeReturnReader 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)

When overridden in a derived class, returns an initializer for the specified method.

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

When overridden in a derived class, initializes an instance.

(Inherited from MimeFormatter)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Read(WebResponse, Stream)

When overridden in a derived class, deserializes an HTTP response into a Web method return value.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also