System.Web.Services.Protocols.MimeFormatter.GetInitializers Method

Returns an array of initializer objects corresponding to an input array of method definitions for a specified class derived from System.Web.Services.Protocols.MimeFormatter.

Syntax

public static object[] GetInitializers (Type type, LogicalMethodInfo[] methodInfos)

Parameters

type
The Type, derived from System.Web.Services.Protocols.MimeFormatter, for which initializers are obtained.
methodInfos
An array of type System.Web.Services.Protocols.LogicalMethodInfo that specifies the Web methods for which the initializers are obtained.

Returns

An array of initializer objects corresponding to the input array of method definitions for a specified class derived from System.Web.Services.Protocols.MimeFormatter.

Remarks

An initializer is an object passed as a parameter to the MimeFormatter.Initialize(object) method.

The static MimeFormatter.GetInitializers(Type, LogicalMethodInfo[]) method causes the invocation of the MimeFormatter.GetInitializer(LogicalMethodInfo) method belonging to the derived class specified by the type parameter.

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