Rediger

Del via


MimeParameterWriter Class

Definition

Provides a common base implementation for writers of out-going request parameters for Web service clients implemented using HTTP but without SOAP.

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

Remarks

MimeParameterWriter 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 MimeParameterWriter class establishes a common request-writing format for client-side writing of Web method parameters into HTTP request streams.

You will typically not need to use MimeParameterWriter 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 ParameterFormatter property to the appropriate type.

Constructors

MimeParameterWriter()

Initializes a new instance of the MimeParameterWriter class.

Properties

RequestEncoding

Gets or sets the encoding used to write parameters to the HTTP request.

UsesWriteRequest

Gets a value that indicates whether Web method parameter values are serialized to the out-going HTTP request body.

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)
GetRequestUrl(String, Object[])

When overridden in a derived class, modifies the outgoing HTTP request's Uniform Request Locator (URL).

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)
InitializeRequest(WebRequest, Object[])

When overridden in a derived class, initializes the out-going HTTP request.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
WriteRequest(Stream, Object[])

When overridden in a derived class, serializes Web method parameter values into a stream representing the outgoing HTTP request body.

Applies to

See also