HttpResponseBase.RemoveOutputCacheItem 메서드

정의

기본 출력 캐시 제공자를 사용하여 출력 캐시에서 캐시된 항목을 제거합니다.

오버로드

RemoveOutputCacheItem(String, String)

지정한 출력 캐시 제공자를 사용하여 지정된 경로와 관련된 모든 출력 캐시 아티팩트를 제거합니다.

RemoveOutputCacheItem(String)

지정된 경로와 관련된 모든 캐시된 항목을 캐시에서 제거합니다.

RemoveOutputCacheItem(String, String)

지정한 출력 캐시 제공자를 사용하여 지정된 경로와 관련된 모든 출력 캐시 아티팩트를 제거합니다.

public:
 virtual void RemoveOutputCacheItem(System::String ^ path, System::String ^ providerName);
public virtual void RemoveOutputCacheItem (string path, string providerName);
abstract member RemoveOutputCacheItem : string * string -> unit
override this.RemoveOutputCacheItem : string * string -> unit
Public Overridable Sub RemoveOutputCacheItem (path As String, providerName As String)

매개 변수

path
String

캐시에서 제거되는 항목의 가상 절대 경로입니다.

providerName
String

지정한 경로와 관련된 출력 캐시 아티팩트를 제거하는 데 사용되는 제공자입니다.

예외

설명

웹 사이트 구성 파일에 지정된 사용자 지정 출력 캐시 공급자와 연결된 출력 캐시 항목을 제거하려면 이 메서드를 호출합니다. 기본 출력 캐시 공급자와 연결된 출력 캐시 항목을 제거하려면 메서드 오버로드를 RemoveOutputCacheItem(String) 호출합니다.

적용 대상

RemoveOutputCacheItem(String)

지정된 경로와 관련된 모든 캐시된 항목을 캐시에서 제거합니다.

public:
 virtual void RemoveOutputCacheItem(System::String ^ path);
public virtual void RemoveOutputCacheItem (string path);
abstract member RemoveOutputCacheItem : string -> unit
override this.RemoveOutputCacheItem : string -> unit
Public Overridable Sub RemoveOutputCacheItem (path As String)

매개 변수

path
String

캐시에서 제거할 항목에 대한 가상 절대 경로입니다.

예외

적용 대상