Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets or sets a value that indicates whether the request fails if the header does not exist.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting.Rules
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Property Required As Boolean
public bool Required { get; set; }
public:
property bool Required {
bool get ();
void set (bool value);
}
member Required : bool with get, set
function get Required () : boolean
function set Required (value : boolean)
Property Value
Type: Boolean
true if the header is required; otherwise, false. The default value is true.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.