MimeFormatter.CreateInstance Method

Creates and initializes an instance of a concrete class derived from MimeFormatter.

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

public:
static MimeFormatter^ CreateInstance (
	Type^ type, 
	Object^ initializer
)
public static MimeFormatter CreateInstance (
	Type type, 
	Object initializer
)
public static function CreateInstance (
	type : Type, 
	initializer : Object
) : MimeFormatter
Not applicable.

Parameters

type
initializer

Return Value

A MimeFormatter object.

The CreateInstance method creates an instance of the derived class and invokes the derived class's implementation of the abstract Initialize method. The CreateInstance method is invoked at the time a request or response is processed.

An initializer is an object passed as a parameter to the Initialize method. The initializer passed as a parameter to the CreateInstance method is obtained from another instance of the derived class, by invoking the GetInitializer method during client or service initialization.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show: