Denetleyici adı ve eylem adına göre Mvc sayfası işlem özel durum olayları filtresi
Microsoft.SystemCenter.Apm.MvcTransaction.MvcExceptionFilter (ConditionDetectionModuleType)
Element properties:
Member Modules:
Source Code:
<ConditionDetectionModuleType ID="Microsoft.SystemCenter.Apm.MvcTransaction.MvcExceptionFilter" Accessibility="Internal" Stateful="false" PassThrough="false" Batching="false">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ControllerName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ActionName" type="xsd:string"/>
</Configuration>
<ModuleImplementation>
<Composite>
<MemberModules>
<ConditionDetection ID="LobFilterByControllerActionName" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">//stackPoint[(method='System.Web.Mvc.ControllerBase.Execute')]/parameters[(translate(variable[name='MVC Action Name']/value, 'abcdefghijklmnopqrstuvwxyz', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ') = translate('$Config/ActionName$','abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ') ) and (translate(variable[name='MVC Controller']/value,'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ') = translate('$Config/ControllerName$','abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ') )]</XPathQuery>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value/>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<Composition>
<Node ID="LobFilterByControllerActionName"/>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>AI!Microsoft.SystemCenter.Apm.LobDataType</OutputType>
<InputTypes>
<InputType>AI!Microsoft.SystemCenter.Apm.LobDataType</InputType>
</InputTypes>
</ConditionDetectionModuleType>