BuildManager.GetCachedBuildDependencySet 메서드

정의

ASP.NET 캐시에서 빌드 종속성 집합을 반환합니다.

오버로드

GetCachedBuildDependencySet(HttpContext, String)

경로가 ASP.NET 캐시에 있는 경우 가상 경로의 빌드 종속성 집합을 반환합니다.

GetCachedBuildDependencySet(HttpContext, String, Boolean)

가상 경로가 ASP.NET 캐시에 있는 경우 콘텐츠가 최신이 아니더라도 해당 가상 경로에 대한 빌드 종속성 집합을 반환합니다.

GetCachedBuildDependencySet(HttpContext, String)

경로가 ASP.NET 캐시에 있는 경우 가상 경로의 빌드 종속성 집합을 반환합니다.

public:
 static System::Web::Compilation::BuildDependencySet ^ GetCachedBuildDependencySet(System::Web::HttpContext ^ context, System::String ^ virtualPath);
public static System.Web.Compilation.BuildDependencySet GetCachedBuildDependencySet (System.Web.HttpContext context, string virtualPath);
static member GetCachedBuildDependencySet : System.Web.HttpContext * string -> System.Web.Compilation.BuildDependencySet
Public Shared Function GetCachedBuildDependencySet (context As HttpContext, virtualPath As String) As BuildDependencySet

매개 변수

context
HttpContext

요청에 대한 컨텍스트입니다.

virtualPath
String

빌드 종속성을 확인할 가상 경로입니다.

반환

BuildDependencySet

캐시에 저장된 BuildDependencySet 개체입니다. 캐시에서 BuildDependencySet 개체를 검색할 수 없는 경우에는 null입니다.

추가 정보

적용 대상

GetCachedBuildDependencySet(HttpContext, String, Boolean)

가상 경로가 ASP.NET 캐시에 있는 경우 콘텐츠가 최신이 아니더라도 해당 가상 경로에 대한 빌드 종속성 집합을 반환합니다.

public:
 static System::Web::Compilation::BuildDependencySet ^ GetCachedBuildDependencySet(System::Web::HttpContext ^ context, System::String ^ virtualPath, bool ensureIsUpToDate);
public static System.Web.Compilation.BuildDependencySet GetCachedBuildDependencySet (System.Web.HttpContext context, string virtualPath, bool ensureIsUpToDate);
static member GetCachedBuildDependencySet : System.Web.HttpContext * string * bool -> System.Web.Compilation.BuildDependencySet
Public Shared Function GetCachedBuildDependencySet (context As HttpContext, virtualPath As String, ensureIsUpToDate As Boolean) As BuildDependencySet

매개 변수

context
HttpContext

요청에 대한 컨텍스트입니다.

virtualPath
String

빌드 종속성을 확인할 가상 경로입니다.

ensureIsUpToDate
Boolean

최신 빌드 종속성 집합만 반환하도록 지정하려면 true이고, 최신이 아니더라도 사용 가능한 빌드 종속성 집합을 반환하도록 지정하려면 false입니다. 기본값은 true입니다.

반환

BuildDependencySet

캐시에 저장된 BuildDependencySet 개체입니다. 캐시에서 BuildDependencySet 개체를 검색할 수 없는 경우에는 null입니다.

설명

ensureIsUpToDate매개 변수 값이로 설정 된 경우 true BuildManager.GetCachedBuildDependencySet 메서드 오버 로드는 BuildManager.GetCachedBuildDependencySet 메서드 오버 로드 처럼 동작 합니다. 두 오버 로드는 현재 빌드 종속성 집합을 반환 합니다 (있는 경우). 그렇지 않으면를 반환 null 합니다.

그러나 BuildManager.GetCachedBuildDependencySet 메서드 오버 로드에는 사용 가능한 빌드 종속성 집합을 반환 하는 옵션이 포함 되어 있습니다 .이는 기한이 지난 경우에도 마찬가지입니다. ensureIsUpToDate매개 변수 값이로 설정 되어 있으면이 false 메서드는 사용 가능한 모든 빌드 종속성 집합을 반환 합니다.

적용 대상