ServicedComponent.IServicedComponentInfo.GetComponentInfo 方法

定義

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

 virtual void System.EnterpriseServices.IServicedComponentInfo.GetComponentInfo(int % infoMask, [Runtime::InteropServices::Out] cli::array <System::String ^> ^ % infoArray) = System::EnterpriseServices::IServicedComponentInfo::GetComponentInfo;
void IServicedComponentInfo.GetComponentInfo (ref int infoMask, out string[] infoArray);
abstract member System.EnterpriseServices.IServicedComponentInfo.GetComponentInfo : int * String[] -> unit
override this.System.EnterpriseServices.IServicedComponentInfo.GetComponentInfo : int * String[] -> unit
Sub GetComponentInfo (ByRef infoMask As Integer, ByRef infoArray As String()) Implements IServicedComponentInfo.GetComponentInfo

參數

infoMask
Int32

位元遮罩,其中 0x00000001 為 Serviced 元件處理序 ID 的索引鍵,0x00000002 為應用程式定義域 ID 的索引鍵,而 0x00000004 為 Serviced 元件遠端 URI 的索引鍵。

infoArray
String[]

字串陣列,可能包含下列任一項或所有項目,依次為:Serviced 元件處理序 ID、應用程式定義域 ID 和 Serviced 元件遠端 URI。

實作

備註

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

適用於