語言

IServicedComponentInfo.GetComponentInfo(Int32, String[]) 方法

定義

取得關於 ServicedComponent 類別實例的某些資訊。

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

public:
 void GetComponentInfo(int % infoMask, [Runtime::InteropServices::Out] cli::array <System::String ^> ^ % infoArray);
public void GetComponentInfo(ref int infoMask, out string[] infoArray);
abstract member GetComponentInfo : int * String[] -> unit
Public Sub GetComponentInfo (ByRef infoMask As Integer, ByRef infoArray As String())

參數

infoMask
Int32

一個位元遮罩,其中 0x00000001 是被服務元件程序 ID 的金鑰,0x00000002 是應用領域 ID 的金鑰,0x00000004 是被服務元件遠端 URI 的金鑰。

infoArray
String[]

字串陣列可包含以下任一或全部,依序為:服務元件的程序 ID、應用域 ID 及服務元件的遠端 URI。

備註

該 GetComponentInfo 方法不屬於類別的已發佈介面 ServicedComponent ,也不需要在其他地方實作。

適用於