IServicedComponentInfo 介面

定義

ServicedComponent 類別實作,透過 GetComponentInfo(Int32, String[]) 方法取得元件的相關資訊。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

C#
[System.Runtime.InteropServices.Guid("8165B19E-8D3A-4d0b-80C8-97DE310DB583")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IServicedComponentInfo
衍生
屬性

備註

介面 IServicedComponentInfo 不需要直接在您的程式代碼中實作。 它是由 .NET Framework 基礎結構在內部使用。

方法 GetComponentInfo 不會出現在類別介面中 ServicedComponent 。 相反地, ServicedComponent 明確地實作 IServicedComponentInfo

方法

GetComponentInfo(Int32, String[])

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

取得 ServicedComponent 類別執行個體的某些資訊。

適用於

產品 版本
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

另請參閱