Export (0) Print
Expand All

ComManagedImportUtil.GetComponentInfo Method

Gets the component information from the assembly.

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

public void GetComponentInfo (
	string assemblyPath,
	out string numComponents,
	out string componentInfo
)
public final void GetComponentInfo (
	String assemblyPath, 
	/** @attribute OutAttribute() */ /** @ref */ String numComponents, 
	/** @attribute OutAttribute() */ /** @ref */ String componentInfo
)
JScript does not support passing value-type arguments by reference.

Parameters

assemblyPath

The path to the assembly.

numComponents

When this method returns, this parameter contains the number of components in the assembly.

componentInfo

When this method returns, this parameter contains the information about the components.

Exception typeCondition

ArgumentException

assemblyPath is an empty string, contains only white space, or contains one or more invalid characters as defined by InvalidPathChars.

-or-

The system could not retrieve the absolute path.

SecurityException

The caller does not have the required permissions.

ArgumentNullException

assemblyPath is a null reference (Nothing in Visual Basic).

NotSupportedException

assemblyPath contains a colon (":").

PathTooLongException

The specified path, file name, or both exceed the system-defined maximum length. For example, on Windows-based platforms, paths must be less than 248 characters, and file names must be less than 260 characters.

This method is called by the COM+ catalog to identify the class identifiers (CLSIDs) and ProgIDs of the components in a DLL before it is registered.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, 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

ADD
Show:
© 2015 Microsoft