HttpServerUtilityBase.CreateObjectFromClsid(String) 方法

定義

在衍生類別中覆寫時,建立以物件類別識別項 (CLSID) 識別之 COM 物件的伺服器執行個體。When overridden in a derived class, creates a server instance of a COM object that is identified by the object's class identifier (CLSID).

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

參數

clsid
String

要建立執行個體之物件的類別識別項。The class identifier of the object to create an instance of.

傳回

Object

新物件。The new object.

例外狀況

永遠。Always.

適用於