Redigera

Dela via


HttpServerUtilityWrapper.CreateObjectFromClsid(String) Method

Definition

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

public:
 override System::Object ^ CreateObjectFromClsid(System::String ^ clsid);
public override object CreateObjectFromClsid (string clsid);
override this.CreateObjectFromClsid : string -> obj
Public Overrides Function CreateObjectFromClsid (clsid As String) As Object

Parameters

clsid
String

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

Returns

The new object.

Exceptions

An instance of the object cannot be created.

Applies to