SessionMgrCom available (through COM layer)

Microsoft.Forefront.UAG.SessionMgrComAvailable (UnitMonitorType)

Element properties:

RunAsDefault
AccessibilityInternal
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
ComStateProvider DataSource Microsoft.Forefront.UAG.SessionMgrComStateProvider Default
COMStateIsOne ConditionDetection System.ExpressionFilter Default
COMStateIsZero ConditionDetection System.ExpressionFilter Default

Source Code:

<UnitMonitorType ID="Microsoft.Forefront.UAG.SessionMgrComAvailable" Accessibility="Internal">
<MonitorTypeStates>
<MonitorTypeState ID="COMAvailable" NoDetection="false"/>
<MonitorTypeState ID="COMUnavailable" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element minOccurs="1" name="IntervalSeconds" type="xsd:integer"/>
</Configuration>
<MonitorImplementation>
<MemberModules>
<DataSource ID="ComStateProvider" TypeID="Microsoft.Forefront.UAG.SessionMgrComStateProvider">
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<SyncTime/>
<TimeoutSeconds>60</TimeoutSeconds>
</DataSource>
<ConditionDetection ID="COMStateIsZero" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">Property[@Name='COMSuccessful']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="Integer">0</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="COMStateIsOne" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">Property[@Name='COMSuccessful']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="Integer">1</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="COMAvailable">
<Node ID="COMStateIsOne">
<Node ID="ComStateProvider"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="COMUnavailable">
<Node ID="COMStateIsZero">
<Node ID="ComStateProvider"/>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>