共用方式為


OutgoingWebResponseContext.SetETag 方法

定義

設定 ETag。

多載

SetETag(String)

設定指定的 ETag。

SetETag(Int64)

設定指定的 ETag。

SetETag(Guid)

設定指定的 ETag。

SetETag(Int32)

設定指定的 ETag。

SetETag(String)

設定指定的 ETag。

public:
 void SetETag(System::String ^ entityTag);
public void SetETag (string entityTag);
member this.SetETag : string -> unit
Public Sub SetETag (entityTag As String)

參數

entityTag
String

要設定的 ETag。

適用於

SetETag(Int64)

設定指定的 ETag。

public:
 void SetETag(long entityTag);
public void SetETag (long entityTag);
member this.SetETag : int64 -> unit
Public Sub SetETag (entityTag As Long)

參數

entityTag
Int64

要設定的 ETag。

適用於

SetETag(Guid)

設定指定的 ETag。

public:
 void SetETag(Guid entityTag);
public void SetETag (Guid entityTag);
member this.SetETag : Guid -> unit
Public Sub SetETag (entityTag As Guid)

參數

entityTag
Guid

要設定的 ETag。

適用於

SetETag(Int32)

設定指定的 ETag。

public:
 void SetETag(int entityTag);
public void SetETag (int entityTag);
member this.SetETag : int -> unit
Public Sub SetETag (entityTag As Integer)

參數

entityTag
Int32

要設定的 ETag。

適用於