ComManagedImportUtil.GetComponentInfo(String, String, String) 메서드

정의

어셈블리에서 구성 요소 정보를 가져옵니다.

public:
 virtual void GetComponentInfo(System::String ^ assemblyPath, [Runtime::InteropServices::Out] System::String ^ % numComponents, [Runtime::InteropServices::Out] System::String ^ % componentInfo);
public void GetComponentInfo(string assemblyPath, out string numComponents, out string componentInfo);
abstract member GetComponentInfo : string * string * string -> unit
override this.GetComponentInfo : string * string * string -> unit
Public Sub GetComponentInfo (assemblyPath As String, ByRef numComponents As String, ByRef componentInfo As String)

매개 변수

assemblyPath
String

어셈블리의 경로입니다.

numComponents
String

이 메서드가 반환되면 이 매개 변수에는 어셈블리의 구성 요소 수가 포함됩니다.

componentInfo
String

이 메서드가 반환되면 이 매개 변수에는 구성 요소에 대한 정보가 포함됩니다.

구현

예외

assemblyPath 가 빈 문자열이거나, 공백만 포함하거나, 정의한 InvalidPathChars대로 하나 이상의 잘못된 문자를 포함합니다.

-또는-

시스템에서 절대 경로를 검색할 수 없습니다.

호출자에게 필요한 권한이 없습니다.

assemblyPathnull입니다.

assemblyPath 에는 콜론(":")이 포함되어 있습니다.

지정된 경로, 파일 이름 또는 둘 다 시스템 정의 최대 길이를 초과합니다.

설명

이 메서드는 COM+ 카탈로그에 의해 호출되어 등록되기 전에 DLL에 있는 구성 요소의 클래스 식별자(CLSID) 및 ProgID를 식별합니다.

적용 대상