EntityTagHeaderValue Constructor (String^, Boolean)

.NET Framework (current version)
 

Initializes a new instance of the EntityTagHeaderValue class.

Namespace:   System.Net.Http.Headers
Assembly:  System.Net.Http (in System.Net.Http.dll)

public:
EntityTagHeaderValue(
	String^ tag,
	bool isWeak
)

Parameters

tag
Type: System::String^

A string that contains an EntityTagHeaderValue.

isWeak
Type: System::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.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show: