Check Internal WinHttp Error monitor type.

Microsoft.LS.2019.Url.BasePage.ErrorCodeFailure (UnitMonitorType)

Element properties:

RunAsDefault
AccessibilityPublic
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
DS1 DataSource Microsoft.LS.2019.Url.UrlCheck.DS Default
CDErrorCodeFailureFalse ConditionDetection System.ExpressionFilter Default
CDErrorCodeFailureTrue ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
IntervalSecondsint$Config/IntervalSeconds$Interval Seconds
Proxystring$Config/Proxy$Proxy
ProxyAuthenticationSchemestring$Config/ProxyAuthenticationScheme$Proxy Authentication Scheme
ProxyUserNamestring$Config/ProxyUserName$Proxy User Name
ProxyPasswordstring$Config/ProxyPassword$Proxy Password

Source Code:

<UnitMonitorType ID="Microsoft.LS.2019.Url.BasePage.ErrorCodeFailure" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="ErrorCodeFailure" NoDetection="false"/>
<MonitorTypeState ID="ErrorCodeOK" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<IncludeSchemaTypes>
<SchemaType>MSWL!Microsoft.SystemCenter.WebApplication.WebModulesSchema</SchemaType>
</IncludeSchemaTypes>
<element xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema" name="RequestID" type="xsd:unsignedInt"/>
<element xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema" name="Url" type="xsd:string"/>
<element xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema" name="IntervalSeconds" type="xsd:unsignedInt"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="0" maxOccurs="1" name="Proxy" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="0" maxOccurs="1" name="ProxyUserName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="0" maxOccurs="1" name="ProxyPassword" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="0" maxOccurs="1" name="ProxyAuthenticationScheme" type="AuthenticationSchemeType"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="Proxy" Selector="$Config/Proxy$" ParameterType="string"/>
<OverrideableParameter ID="ProxyAuthenticationScheme" Selector="$Config/ProxyAuthenticationScheme$" ParameterType="string"/>
<OverrideableParameter ID="ProxyUserName" Selector="$Config/ProxyUserName$" ParameterType="string"/>
<OverrideableParameter ID="ProxyPassword" Selector="$Config/ProxyPassword$" ParameterType="string"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DS1" TypeID="Microsoft.LS.2019.Url.UrlCheck.DS">
<Url>$Config/Url$</Url>
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<Proxy/>
<ProxyUserName/>
<ProxyPassword/>
<ProxyAuthenticationScheme>None</ProxyAuthenticationScheme>
</DataSource>
<ConditionDetection ID="CDErrorCodeFailureTrue" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">RequestResults/RequestResult[@Id="$Config/RequestID$"]/BasePageData/ErrorCode</XPathQuery>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">0</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="CDErrorCodeFailureFalse" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">RequestResults/RequestResult[@Id="$Config/RequestID$"]/BasePageData/ErrorCode</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">0</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="ErrorCodeFailure">
<Node ID="CDErrorCodeFailureTrue">
<Node ID="DS1"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="ErrorCodeOK">
<Node ID="CDErrorCodeFailureFalse">
<Node ID="DS1"/>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>