- type
- The Type, derived from System.Web.Services.Protocols.MimeFormatter,- for which an initializer is obtained.
- methodInfo
- A System.Web.Services.Protocols.LogicalMethodInfo that specifies the Web method for which the initializer is obtained.
A object object that contains the initializer for the specified method.
An initializer is an object passed as a parameter to the MimeFormatter.Initialize(object) method.
The static MimeFormatter.GetInitializer(Type, LogicalMethodInfo) method invokes the derived class's MimeFormatter.GetInitializer(LogicalMethodInfo) method, implicitly creating an instance of the derived class. At the time a request or response is processed, the initializer object is passed to the MimeFormatter.Initialize(object) method of another instance of the derived class. The latter object performs the actual reading or writing.