EntityTagHeaderValue Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
EntityTagHeaderValue(StringSegment) |
Initializes a new instance of the EntityTagHeaderValue. |
EntityTagHeaderValue(String) | |
EntityTagHeaderValue(StringSegment, Boolean) |
Initializes a new instance of the EntityTagHeaderValue. |
EntityTagHeaderValue(String, Boolean) |
EntityTagHeaderValue(StringSegment)
- Source:
- EntityTagHeaderValue.cs
- Source:
- EntityTagHeaderValue.cs
- Source:
- EntityTagHeaderValue.cs
Initializes a new instance of the EntityTagHeaderValue.
public:
EntityTagHeaderValue(Microsoft::Extensions::Primitives::StringSegment tag);
public EntityTagHeaderValue (Microsoft.Extensions.Primitives.StringSegment tag);
new Microsoft.Net.Http.Headers.EntityTagHeaderValue : Microsoft.Extensions.Primitives.StringSegment -> Microsoft.Net.Http.Headers.EntityTagHeaderValue
Public Sub New (tag As StringSegment)
Parameters
- tag
- StringSegment
A StringSegment that contains an EntityTagHeaderValue.
Applies to
EntityTagHeaderValue(String)
public:
EntityTagHeaderValue(System::String ^ tag);
public EntityTagHeaderValue (string tag);
new Microsoft.Net.Http.Headers.EntityTagHeaderValue : string -> Microsoft.Net.Http.Headers.EntityTagHeaderValue
Public Sub New (tag As String)
Parameters
- tag
- String
Applies to
EntityTagHeaderValue(StringSegment, Boolean)
- Source:
- EntityTagHeaderValue.cs
- Source:
- EntityTagHeaderValue.cs
- Source:
- EntityTagHeaderValue.cs
Initializes a new instance of the EntityTagHeaderValue.
public:
EntityTagHeaderValue(Microsoft::Extensions::Primitives::StringSegment tag, bool isWeak);
public EntityTagHeaderValue (Microsoft.Extensions.Primitives.StringSegment tag, bool isWeak);
new Microsoft.Net.Http.Headers.EntityTagHeaderValue : Microsoft.Extensions.Primitives.StringSegment * bool -> Microsoft.Net.Http.Headers.EntityTagHeaderValue
Public Sub New (tag As StringSegment, isWeak As Boolean)
Parameters
- tag
- StringSegment
A StringSegment that contains an EntityTagHeaderValue.
- isWeak
- Boolean
A value that indicates if this entity-tag header is a weak validator.
Applies to
EntityTagHeaderValue(String, Boolean)
public:
EntityTagHeaderValue(System::String ^ tag, bool isWeak);
public EntityTagHeaderValue (string tag, bool isWeak);
new Microsoft.Net.Http.Headers.EntityTagHeaderValue : string * bool -> Microsoft.Net.Http.Headers.EntityTagHeaderValue
Public Sub New (tag As String, isWeak As Boolean)
Parameters
- tag
- String
- isWeak
- Boolean