Try our conversational search powered by Generative AI!

Class LinkValidatorElement

Inheritance
System.Object
LinkValidatorElement
Namespace: EPiServer.Configuration.LinkValidator
Assembly: EPiServer.Configuration.dll
Version: 11.20.7
Syntax
public class LinkValidatorElement : ConfigurationElement

Constructors

LinkValidatorElement()

Declaration
public LinkValidatorElement()

Properties

ExcludePatterns

A list of patterns that for links that will be ignored by the link validator

Declaration
public ExcludePatternCollection ExcludePatterns { get; set; }
Property Value
Type Description
ExcludePatternCollection

ExternalLinkErrorThreshold

If a consecutive number of errors on external links exceeds the threshold, the job will stop.

Declaration
public int ExternalLinkErrorThreshold { get; set; }
Property Value
Type Description
System.Int32

The threshold where the job will stop.

ExternalLinkMinimumRequestInterval

The minimum time between requests to the same external host.

Declaration
public TimeSpan ExternalLinkMinimumRequestInterval { get; set; }
Property Value
Type Description
System.TimeSpan

InternalLinkValidation

How the link validator will validate internal links.

Declaration
public ValidationType InternalLinkValidation { get; set; }
Property Value
Type Description
ValidationType

MaximumRunTime

The maximum time the job will run at one time.

Declaration
public TimeSpan MaximumRunTime { get; set; }
Property Value
Type Description
System.TimeSpan

ProxyAddress

Optional web proxy address for the link checker to use when validating links.

Declaration
public Uri ProxyAddress { get; set; }
Property Value
Type Description
System.Uri

ProxyDomain

Optional web proxy domain to authenticate the proxy connection.

Declaration
public string ProxyDomain { get; set; }
Property Value
Type Description
System.String

ProxyPassword

Optional web proxy password to authenticate the proxy connection.

Declaration
public string ProxyPassword { get; set; }
Property Value
Type Description
System.String

ProxyUser

Optional web proxy user for to authenticate proxy connection.

Declaration
public string ProxyUser { get; set; }
Property Value
Type Description
System.String

RecheckInterval

The time that must elaps before a link is rechecked.

Declaration
public TimeSpan RecheckInterval { get; set; }
Property Value
Type Description
System.TimeSpan

UserAgent

The user agent string to use when checking validity of links.

Declaration
public string UserAgent { get; set; }
Property Value
Type Description
System.String

Extension Methods