OutputCacheProfile.Location Özellik
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Çıktı önbelleği konumunu alır veya ayarlar.
public:
property System::Web::UI::OutputCacheLocation Location { System::Web::UI::OutputCacheLocation get(); void set(System::Web::UI::OutputCacheLocation value); };
[System.Configuration.ConfigurationProperty("location")]
public System.Web.UI.OutputCacheLocation Location { get; set; }
[<System.Configuration.ConfigurationProperty("location")>]
member this.Location : System.Web.UI.OutputCacheLocation with get, set
Public Property Location As OutputCacheLocation
Özellik Değeri
Numaralandırma değerlerinden OutputCacheLocation biri. Varsayılan değer: Any
.
- Öznitelikler
Örnekler
Aşağıdaki kod örneği özelliğinin Location nasıl kullanılacağını gösterir.
// Get the current Location.
System.Web.UI.OutputCacheLocation locationValue =
outputCacheProfile.Location;
// Set the Location property to null.
outputCacheProfile.Location =
System.Web.UI.OutputCacheLocation.Server;
' Get the current Location.
Dim locationValue _
As System.Web.UI.OutputCacheLocation = _
outputCacheProfile.Location
' Set the Location property to null.
outputCacheProfile.Location = _
System.Web.UI.OutputCacheLocation.Server
Açıklamalar
olarak ayarlanırsa LocationAny
, çıkış önbelleği isteğin kaynaklandığı tarayıcı istemcisinde, bir ara sunucuda veya isteğe katılan başka bir sunucuda veya isteğin işlendiği sunucuda bulunabilir.
Şunlara uygulanır
Ayrıca bkz.
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin