System.Web.Services.Protocols.ValueCollectionParameterReader.GetInitializer Method

Returns an initializer for the specified method.

Syntax

public override object GetInitializer (LogicalMethodInfo methodInfo)

Parameters

methodInfo
A System.Web.Services.Protocols.LogicalMethodInfo that specifies the Web method for which the initializer is obtained.

Returns

A System.Web.Services.Protocols.LogicalMethodInfo representing the Web method.

Remarks

The object returned by the ValueCollectionParameterReader.GetInitializer(LogicalMethodInfo) method is the LogicalMethodInfo.InParameters property of the methodinfo parameter. The LogicalMethodInfo.InParameters property value is an array of type System.Reflection.ParameterInfo.

The ValueCollectionParameterReader.GetInitializer(LogicalMethodInfo) method is invoked during service initialization. Later, at the time a request is processed, the initializer object is passed to the ValueCollectionParameterReader.Initialize(object) method of another System.Web.Services.Protocols.ValueCollectionParameterReader instance. The other instance performs the actual reading.

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