System.Web.Services.Protocols.UrlEncodedParameterWriter.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 object

Remarks

An initializer is an object passed as a parameter to the UrlEncodedParameterWriter.Initialize(object) method. For the System.Web.Services.Protocols.UrlEncodedParameterWriter class, the initializer is the value of the LogicalMethodInfo.InParameters property of the input System.Web.Services.Protocols.LogicalMethodInfo object. The property is a System.Reflection.ParameterInfo array.The UrlEncodedParameterWriter.GetInitializer(LogicalMethodInfo) method is invoked during service initialization. Later, at the time a request is populated, the initializer object is passed to the UrlEncodedParameterWriter.Initialize(object) method of another System.Web.Services.Protocols.UrlEncodedParameterWriter instance. The other object performs the actual writing.

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