System.Web.Services.Protocols.XmlReturnReader.Initialize Method

Initializes an instance.

Syntax

public override void Initialize (object o)

Parameters

o
An System.Xml.Serialization.XmlSerializer for the return type of the Web method being invoked.

Remarks

The XmlReturnReader.Initialize(object) method supplies the System.Xml.Serialization.XmlSerializer object used by the XmlReturnReader.Read(System.Net.WebResponse, System.IO.Stream) method to deserialize an XML document contained in the HTTP response.

The XmlReturnReader.Initialize(object) method is invoked at the time a request is processed. The input parameter, o, is obtained by calling the XmlReturnReader.GetInitializer(LogicalMethodInfo) or XmlReturnReader.GetInitializers(LogicalMethodInfo[]) method on another instance during client initialization.

Requirements

Namespace: System.Web.Services.Protocols
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0