HttpServerUtility::CreateObjectFromClsid Method (String^)
.NET Framework (current version)
Creates a server instance of a COM object identified by the object's class identifier (CLSID).
Assembly: System.Web (in System.Web.dll)
public: [SecurityPermissionAttribute(SecurityAction::Demand, UnmanagedCode = true)] Object^ CreateObjectFromClsid( String^ clsid )
Parameters
- clsid
-
Type:
System::String^
The class identifier of the 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: