Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CreateObject Method (Type)
Collapse the table of content
Expand the table of content

HttpServerUtilityBase.CreateObject Method (Type)

When overridden in a derived class, creates a server instance of a COM object that is identified by the object's type.

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

public virtual Object CreateObject(
	Type type
)

Parameters

type
Type: System.Type

A type that represents the object to create.

Return Value

Type: System.Object
The new object.

ExceptionCondition
NotImplementedException

Always.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1
Show:
© 2015 Microsoft