AssemblyLoadContext.LoadFromAssemblyPath(String) 메서드

정의

지정된 경로에 있는 어셈블리 파일의 내용을 로드합니다.

public:
 System::Reflection::Assembly ^ LoadFromAssemblyPath(System::String ^ assemblyPath);
public System.Reflection.Assembly LoadFromAssemblyPath (string assemblyPath);
member this.LoadFromAssemblyPath : string -> System.Reflection.Assembly
Public Function LoadFromAssemblyPath (assemblyPath As String) As Assembly

매개 변수

assemblyPath
String

로드할 파일의 정규화된 경로입니다.

반환

로드된 어셈블리입니다.

예외

assemblyPath 인수가 절대 경로가 아닙니다.

assemblyPath 인수가 null인 경우

찾은 파일을 로드할 수 없습니다.

assemblyPath 인수가 빈 문자열("")이거나 존재하지 않습니다.

assemblyPath 인수가 유효한 어셈블리가 아닙니다.

적용 대상

추가 정보