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)
<SecurityPermissionAttribute(SecurityAction.Demand, UnmanagedCode := True)> Public Function CreateObjectFromClsid ( clsid As String ) As Object
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: