HttpServerUtilityWrapper::CreateObjectFromClsid Method (String^)

 

Creates a server instance of a COM object that is identified by the object's class identifier (CLSID).

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public:
virtual Object^ CreateObjectFromClsid(
	String^ clsid
) override

Parameters

clsid
Type: System::String^

The class identifier of the object to create an instance of.

Return Value

Type: System::Object^

The new object.

Exception Condition
HttpException

An instance of the object cannot be created.

.NET Framework
Available since 3.5
Return to top
Show: