Muokkaa

Jaa


IServicedComponentInfo.GetComponentInfo(Int32, String[]) Method

Definition

Obtains certain information about the ServicedComponent class instance.

This API supports the product infrastructure and is not intended to be used directly from your code.

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())

Parameters

infoMask
Int32

A bitmask where 0x00000001 is a key for the serviced component's process ID, 0x00000002 is a key for the application domain ID, and 0x00000004 is a key for the serviced component's remote URI.

infoArray
String[]

A string array that may contain any or all of the following, in order: the serviced component's process ID, the application domain ID, and the serviced component's remote URI.

Remarks

The GetComponentInfo method does not belong to the published interface of the ServicedComponent class and does not need to be implemented elsewhere.

Applies to