Returns the parameter passed to the AnyReturnReader.Initialize(object) method.
- methodInfo
- A System.Web.Services.Protocols.LogicalMethodInfo that indicates the Web method for which the initializer is obtained.
The parameter passed to the AnyReturnReader.Initialize(object) method.
An initializer is an object passed as a parameter to the AnyReturnReader.Initialize(object) method. For the System.Web.Services.Protocols.AnyReturnReader class, the initializer is the instance referred to by the keyword this, unless the System.Web.Services.Protocols.LogicalMethodInfo parameter value has a void return type, in which case the initializer is set to null.
The AnyReturnReader.GetInitializer(LogicalMethodInfo) method is invoked during service initialization. Later, at the time a response is processed, the initializer System.Web.Services.Protocols.AnyReturnReader object is passed to the AnyReturnReader.Initialize(object) method of another System.Web.Services.Protocols.AnyReturnReader instance. The other instance takes the call to the AnyReturnReader.Read(System.Net.WebResponse, System.IO.Stream) method.