HttpServerUtility.CreateObject Method (String)
.NET Framework (current version)
Creates a server instance of a COM object identified by the object's programmatic identifier (ProgID).
Assembly: System.Web (in System.Web.dll)
[SecurityPermissionAttribute(SecurityAction.Demand, Unrestricted = true)] public object CreateObject( string progID )
Parameters
- progID
-
Type:
System.String
The class or type of object to create an instance of.
| Exception | Condition |
|---|---|
| HttpException | An instance of the object could not be created. |
.NET Framework
Available since 1.1
Available since 1.1
Show: