Muokkaa

Jaa


EntityTagHeaderValue Constructors

Definition

Initializes a new instance of the EntityTagHeaderValue class.

Overloads

EntityTagHeaderValue(String)

Initializes a new instance of the EntityTagHeaderValue class.

EntityTagHeaderValue(String, Boolean)

Initializes a new instance of the EntityTagHeaderValue class.

EntityTagHeaderValue(String)

Source:
EntityTagHeaderValue.cs
Source:
EntityTagHeaderValue.cs
Source:
EntityTagHeaderValue.cs

Initializes a new instance of the EntityTagHeaderValue class.

public:
 EntityTagHeaderValue(System::String ^ tag);
public EntityTagHeaderValue (string tag);
new System.Net.Http.Headers.EntityTagHeaderValue : string -> System.Net.Http.Headers.EntityTagHeaderValue
Public Sub New (tag As String)

Parameters

tag
String

A string that contains an EntityTagHeaderValue.

Applies to

EntityTagHeaderValue(String, Boolean)

Source:
EntityTagHeaderValue.cs
Source:
EntityTagHeaderValue.cs
Source:
EntityTagHeaderValue.cs

Initializes a new instance of the EntityTagHeaderValue class.

public:
 EntityTagHeaderValue(System::String ^ tag, bool isWeak);
public EntityTagHeaderValue (string tag, bool isWeak);
new System.Net.Http.Headers.EntityTagHeaderValue : string * bool -> System.Net.Http.Headers.EntityTagHeaderValue
Public Sub New (tag As String, isWeak As Boolean)

Parameters

tag
String

A string that contains an EntityTagHeaderValue.

isWeak
Boolean

A value that indicates if this entity-tag header is a weak validator. If the entity-tag header is weak validator, then isWeak should be set to true. If the entity-tag header is a strong validator, then isWeak should be set to false.

Applies to