This documentation is archived and is not being maintained.
HttpServerUtilityWrapper::CreateObject Method (String)
Visual Studio 2008
Creates a server instance of a COM object that is identified by the object's programmatic identifier (ProgID).
Assembly: System.Web.Abstractions (in System.Web.Abstractions.dll)
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. |
- SecurityPermission
for full access to the resource protected by the permission. Demand value: Demand. Associated enumeration: PermissionState::Unrestricted
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: