Export (0) Print
Expand All

IServicedComponentInfo.GetComponentInfo Method

This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Obtains certain information about the ServicedComponent class instance.

Namespace: System.EnterpriseServices
Assembly: System.EnterpriseServices (in system.enterpriseservices.dll)

void GetComponentInfo (
	ref int infoMask,
	out string[] infoArray
void GetComponentInfo (
	/** @ref */ int infoMask, 
	/** @attribute OutAttribute() */ /** @ref */ String[] infoArray
JScript does not support passing value-type arguments by reference.



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.


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.

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

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions

© 2014 Microsoft