ValueCollectionParameterReader.GetInitializer Method (LogicalMethodInfo)

 

Returns an initializer for the specified method.

Namespace:   System.Web.Services.Protocols
Assembly:  System.Web.Services (in System.Web.Services.dll)

public override object GetInitializer(
	LogicalMethodInfo methodInfo
)

Parameters

methodInfo
Type: System.Web.Services.Protocols.LogicalMethodInfo

A LogicalMethodInfo that specifies the Web method for which the initializer is obtained.

Return Value

Type: System.Object

A LogicalMethodInfo representing the Web method.

The object returned by the GetInitializer method is the InParameters property of the methodinfo parameter. The InParameters property value is an array of type ParameterInfo.

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

.NET Framework
Available since 1.1
Return to top
Show: