IServicedComponentInfo.GetComponentInfo Method
Obtains certain information about the ServicedComponent class instance.
Assembly: System.EnterpriseServices (in System.EnterpriseServices.dll)
'Declaration Sub GetComponentInfo ( _ ByRef infoMask As Integer, _ <OutAttribute> ByRef infoArray As String() _ ) 'Usage Dim instance As IServicedComponentInfo Dim infoMask As Integer Dim infoArray As String() instance.GetComponentInfo(infoMask, infoArray)
Parameters
- infoMask
- Type: System.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
- Type: System.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.
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 Using Libraries from Partially Trusted Code.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.