OutgoingWebResponseContext.SetETag Method

Definition

Sets an ETag.

Overloads

SetETag(String)

Sets the specified ETag.

SetETag(Int64)

Sets the specified ETag.

SetETag(Guid)

Sets the specified ETag.

SetETag(Int32)

Sets the specified ETag.

SetETag(String)

Sets the specified ETag.

public void SetETag (string entityTag);

Parameters

entityTag
String

The ETag to set.

Applies to

.NET Framework 4.8.1 a další verze
Produkt Verze
.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

SetETag(Int64)

Sets the specified ETag.

public void SetETag (long entityTag);

Parameters

entityTag
Int64

The ETag to set.

Applies to

.NET Framework 4.8.1 a další verze
Produkt Verze
.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

SetETag(Guid)

Sets the specified ETag.

public void SetETag (Guid entityTag);

Parameters

entityTag
Guid

The ETag to set.

Applies to

.NET Framework 4.8.1 a další verze
Produkt Verze
.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

SetETag(Int32)

Sets the specified ETag.

public void SetETag (int entityTag);

Parameters

entityTag
Int32

The ETag to set.

Applies to

.NET Framework 4.8.1 a další verze
Produkt Verze
.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