HttpCachePolicyWrapper::SetETag Method (String^)
.NET Framework (current version)
Sets the ETag HTTP header to the specified string.
Assembly: System.Web (in System.Web.dll)
Parameters
- etag
-
Type:
System::String^
The text to use for the ETag header.
| Exception | Condition |
|---|---|
| ArgumentNullException | etag is null. |
| InvalidOperationException | The ETag header has already been set. - or - The SetETagFromFileDependencies method has already been called. |
.NET Framework
Available since 3.5
Available since 3.5
Show: