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)
public: [SecurityPermissionAttribute(SecurityAction::Demand, Unrestricted = true)] 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: