CreateObject Method

ApplicationManager.CreateObject Method

 

Creates an object for the specified application domain and object type.

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

NameDescription
System_CAPS_pubmethodCreateObject(IApplicationHost, Type)

Creates an object for the specified application domain, based on type.

System_CAPS_pubmethodCreateObject(String, Type, String, String, Boolean)

Creates an object for the specified application domain based on type, virtual and physical paths, and a Boolean value indicating failure behavior when an object of the specified type already exists.

System_CAPS_pubmethodCreateObject(String, Type, String, String, Boolean, Boolean)

Creates an object for the specified application domain based on type, virtual and physical paths, a Boolean value indicating failure behavior when an object of the specified type already exists, and a Boolean value indicating whether hosting initialization error exceptions are thrown.

Return to top
Show:
© 2016 Microsoft