OutputCacheProvider Class

Definition

Serves as a base class that contains abstract methods for implementing an output-cache provider.

C#
public abstract class OutputCacheProvider : System.Configuration.Provider.ProviderBase
Inheritance
OutputCacheProvider
Derived

Remarks

All output-cache providers must implement the abstract methods in the OutputCacheProvider class.

Notes to Implementers

When you inherit from OutputCacheProvider, you must override the following members:

Constructors

OutputCacheProvider()

Initializes a new instance of the OutputCacheProvider class.

Properties

Description

Gets a brief, friendly description suitable for display in administrative tools or other user interfaces (UIs).

(Inherited from ProviderBase)
Name

Gets the friendly name used to refer to the provider during configuration.

(Inherited from ProviderBase)

Methods

Add(String, Object, DateTime)

Inserts the specified entry into the output cache.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Get(String)

Returns a reference to the specified entry in the output cache.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
Initialize(String, NameValueCollection)

Initializes the configuration builder.

(Inherited from ProviderBase)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Remove(String)

Removes the specified entry from the output cache.

Set(String, Object, DateTime)

Inserts the specified entry into the output cache, overwriting the entry if it is already cached.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1