Assembly.LoadWithPartialName 메서드

정의

부분 이름을 사용하여 애플리케이션 디렉터리 또는 전역 어셈블리 캐시에서 어셈블리를 로드합니다.

오버로드

LoadWithPartialName(String)
사용되지 않음.
사용되지 않음.
사용되지 않음.

부분 이름을 사용하여 애플리케이션 디렉터리 또는 전역 어셈블리 캐시에서 어셈블리를 로드합니다.

LoadWithPartialName(String, Evidence)
사용되지 않음.

부분 이름을 사용하여 애플리케이션 디렉터리 또는 전역 어셈블리 캐시에서 어셈블리를 로드합니다. 어셈블리는 제공된 증거를 사용하여 로드됩니다.

설명

중요

메서드의 Assembly.LoadWithPartialName 오버로드는 사용되지 않으며 이전 버전과의 호환성을 위해 유지되었습니다. 사용되는 대체 항목은 Assembly.Load(String)입니다.

LoadWithPartialName(String)

Source:
Assembly.CoreCLR.cs
Source:
Assembly.CoreCLR.cs
Source:
Assembly.CoreCLR.cs

주의

This method has been deprecated. Please use Assembly.Load() instead. https://go.microsoft.com/fwlink/?linkid=14202

주의

Assembly.LoadWithPartialName has been deprecated. Use Assembly.Load() instead.

주의

This method has been deprecated. Please use Assembly.Load() instead. http://go.microsoft.com/fwlink/?linkid=14202

부분 이름을 사용하여 애플리케이션 디렉터리 또는 전역 어셈블리 캐시에서 어셈블리를 로드합니다.

public:
 static System::Reflection::Assembly ^ LoadWithPartialName(System::String ^ partialName);
[System.Obsolete("This method has been deprecated. Please use Assembly.Load() instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public static System.Reflection.Assembly? LoadWithPartialName (string partialName);
[System.Obsolete("Assembly.LoadWithPartialName has been deprecated. Use Assembly.Load() instead.")]
public static System.Reflection.Assembly? LoadWithPartialName (string partialName);
[System.Obsolete("This method has been deprecated. Please use Assembly.Load() instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public static System.Reflection.Assembly LoadWithPartialName (string partialName);
public static System.Reflection.Assembly LoadWithPartialName (string partialName);
[System.Obsolete("This method has been deprecated. Please use Assembly.Load() instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public static System.Reflection.Assembly LoadWithPartialName (string partialName);
[<System.Obsolete("This method has been deprecated. Please use Assembly.Load() instead. https://go.microsoft.com/fwlink/?linkid=14202")>]
static member LoadWithPartialName : string -> System.Reflection.Assembly
[<System.Obsolete("Assembly.LoadWithPartialName has been deprecated. Use Assembly.Load() instead.")>]
static member LoadWithPartialName : string -> System.Reflection.Assembly
[<System.Obsolete("This method has been deprecated. Please use Assembly.Load() instead. http://go.microsoft.com/fwlink/?linkid=14202")>]
static member LoadWithPartialName : string -> System.Reflection.Assembly
static member LoadWithPartialName : string -> System.Reflection.Assembly
Public Shared Function LoadWithPartialName (partialName As String) As Assembly

매개 변수

partialName
String

어셈블리의 표시 이름입니다.

반환

로드된 어셈블리입니다. partialName이 없으면 이 메서드에서 null을 반환합니다.

특성

예외

partialName 매개 변수가 null인 경우

assemblyFile 는 현재 로드된 런타임에 유효한 어셈블리가 아닙니다.

설명

중요

메서드는 LoadWithPartialName(String) 사용되지 않으며 이전 버전과의 호환성을 위해 유지되었습니다. 사용되는 대체 항목은 Assembly.Load(String)입니다.

이 메서드를 사용 하 여 어셈블리를 로드 하는 애플리케이션 업그레이드 이러한 어셈블리의 영향을 받습니다. 따라서이 메서드를 사용 하지 마세요 사용 하도록 애플리케이션을 다시 디자인 된 Load(String) 메서드 오버 로드 또는 LoadFrom(String) 메서드 오버 로드 합니다.

이 메서드는 먼저 를 호출합니다 Load. 어셈블리를 찾을 수 없는 경우 이 메서드는 동일한 단순 이름과 가장 높은 버전 번호를 포함하는 전역 어셈블리 캐시에서 어셈블리를 반환합니다.

추가 정보

적용 대상

LoadWithPartialName(String, Evidence)

주의

This method has been deprecated. Please use Assembly.Load() instead. http://go.microsoft.com/fwlink/?linkid=14202

부분 이름을 사용하여 애플리케이션 디렉터리 또는 전역 어셈블리 캐시에서 어셈블리를 로드합니다. 어셈블리는 제공된 증거를 사용하여 로드됩니다.

public:
 static System::Reflection::Assembly ^ LoadWithPartialName(System::String ^ partialName, System::Security::Policy::Evidence ^ securityEvidence);
public static System.Reflection.Assembly LoadWithPartialName (string partialName, System.Security.Policy.Evidence securityEvidence);
[System.Obsolete("This method has been deprecated. Please use Assembly.Load() instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public static System.Reflection.Assembly LoadWithPartialName (string partialName, System.Security.Policy.Evidence securityEvidence);
static member LoadWithPartialName : string * System.Security.Policy.Evidence -> System.Reflection.Assembly
[<System.Obsolete("This method has been deprecated. Please use Assembly.Load() instead. http://go.microsoft.com/fwlink/?linkid=14202")>]
static member LoadWithPartialName : string * System.Security.Policy.Evidence -> System.Reflection.Assembly
Public Shared Function LoadWithPartialName (partialName As String, securityEvidence As Evidence) As Assembly

매개 변수

partialName
String

어셈블리의 표시 이름입니다.

securityEvidence
Evidence

어셈블리 로드에 사용할 증명 정보입니다.

반환

로드된 어셈블리입니다. partialName이 없으면 이 메서드에서 null을 반환합니다.

특성

예외

어셈블리 또는 모듈이 서로 다른 두 증명 정보 집합으로 두 번 로드되었습니다.

partialName 매개 변수가 null인 경우

assemblyFile 는 현재 로드된 런타임에 유효한 어셈블리가 아닙니다.

설명

중요

메서드는 LoadWithPartialName(String, Evidence) 사용되지 않으며 이전 버전과의 호환성을 위해 유지되었습니다. 사용되는 대체 항목은 Assembly.Load(String)입니다.

증명 정보는 코드에 부여할 수 있는 권한 같이 보안 정책을 결정하기 위해 입력하는 정보 집합입니다.

이 메서드를 사용 하 여 어셈블리를 로드 하는 애플리케이션 업그레이드 이러한 어셈블리의 영향을 받습니다. 따라서이 메서드를 사용 하지 마세요 사용 하도록 애플리케이션을 다시 디자인 된 Load 메서드 또는 LoadFrom 메서드.

이 메서드는 먼저 를 호출합니다 Load. 어셈블리를 찾을 수 없는 경우 이 메서드는 동일한 단순 이름과 가장 높은 버전 번호를 포함하는 전역 어셈블리 캐시에서 어셈블리를 반환합니다.

추가 정보

적용 대상