zoukankan      html  css  js  c++  java
  • [BTS] Some code in BizTalk.Trace V1.0

    Orchestration  Declare 
    <om:Element Type="VariableDeclaration" OID="d19901e9-d218-4b24-8a28-da04c9187569" ParentLink="ServiceDeclaration_VariableDeclaration" LowerBound="17.1" HigherBound="18.1">
        <om:Property Name="UseDefaultConstructor" Value="False"/>
        <om:Property Name="Type" Value="System.String"/>
        <om:Property Name="ParamDirection" Value="In"/>
        <om:Property Name="ReportToAnalyst" Value="True"/>
        <om:Property Name="Name" Value="logServiceId"/>
        <om:Property Name="Signal" Value="True"/>
    </om:Element>
    <om:Element Type="VariableDeclaration" OID="0bc809ba-9e0e-4efc-bdfa-4866340bb0e4" ParentLink="ServiceDeclaration_VariableDeclaration" LowerBound="18.1" HigherBound="19.1">
        <om:Property Name="UseDefaultConstructor" Value="False"/>
        <om:Property Name="Type" Value="System.String"/>
        <om:Property Name="ParamDirection" Value="In"/>
        <om:Property Name="ReportToAnalyst" Value="True"/>
        <om:Property Name="Name" Value="logServiceName"/>
        <om:Property Name="Signal" Value="True"/>
    </om:Element>
    <om:Element Type="VariableDeclaration" OID="fe6718b5-87f5-47a9-a3d1-2501cea6fc0c" ParentLink="ServiceDeclaration_VariableDeclaration" LowerBound="19.1" HigherBound="20.1">
        <om:Property Name="UseDefaultConstructor" Value="True"/>
        <om:Property Name="Type" Value="System.String"/>
        <om:Property Name="ParamDirection" Value="In"/>
        <om:Property Name="ReportToAnalyst" Value="True"/>
        <om:Property Name="Name" Value="logMessageId"/>
        <om:Property Name="Signal" Value="True"/>
    </om:Element>
    <om:Element Type="VariableDeclaration" OID="ecc0e26e-0769-4dcd-93cb-2296cd1762ad" ParentLink="ServiceDeclaration_VariableDeclaration" LowerBound="20.1" HigherBound="21.1">
        <om:Property Name="UseDefaultConstructor" Value="True"/>
        <om:Property Name="Type" Value="System.String"/>
        <om:Property Name="ParamDirection" Value="In"/>
        <om:Property Name="ReportToAnalyst" Value="True"/>
        <om:Property Name="Name" Value="logMessageName"/>
        <om:Property Name="Signal" Value="True"/>
    </om:Element>
    <om:Element Type="VariableDeclaration" OID="62eb8264-85d3-4876-a652-4f10dacc86b0" ParentLink="ServiceDeclaration_VariableDeclaration" LowerBound="21.1" HigherBound="22.1">
        <om:Property Name="UseDefaultConstructor" Value="False"/>
        <om:Property Name="Type" Value="System.Int32"/>
        <om:Property Name="ParamDirection" Value="In"/>
        <om:Property Name="ReportToAnalyst" Value="True"/>
        <om:Property Name="Name" Value="logIndex"/>
        <om:Property Name="Signal" Value="True"/>
    </om:Element>
    <om:Element Type="VariableDeclaration" OID="49b88dbb-c537-4baf-b5e1-3672f0602778" ParentLink="ServiceDeclaration_VariableDeclaration" LowerBound="22.1" HigherBound="23.1">
        <om:Property Name="UseDefaultConstructor" Value="True"/>
        <om:Property Name="Type" Value="System.Xml.XmlDocument"/>
        <om:Property Name="ParamDirection" Value="In"/>
        <om:Property Name="ReportToAnalyst" Value="True"/>
        <om:Property Name="Name" Value="logMessageXml"/>
        <om:Property Name="Signal" Value="True"/>
    </om:Element>
    <om:Element Type="VariableDeclaration" OID="fc031594-d9c4-4f6d-925c-9378f46aa8ce" ParentLink="ServiceDeclaration_VariableDeclaration" LowerBound="23.1" HigherBound="24.1">
        <om:Property Name="UseDefaultConstructor" Value="False"/>
        <om:Property Name="Type" Value="System.DateTime"/>
        <om:Property Name="ParamDirection" Value="In"/>
        <om:Property Name="ReportToAnalyst" Value="True"/>
        <om:Property Name="Name" Value="logStartTime"/>
        <om:Property Name="Signal" Value="True"/> </om:Element> 

    Init Trace

    logServiceName = "Orchestration name |  Service name"; 

    logMessageId = "Optional";
    logStartTime = System.DateTime.Now;
    logIndex = 0;

    Trace

    logMessageName = "msgFetch";
    logMessageXml = msgFetch;
    MidSoft.BizTalk.Message.Save(logServiceName,logStartTime,logServiceId,logMessageId,logMessageName,logMessageXml,ref logIndex);
  • 相关阅读:
    简化得最没道理的6个汉字,让人大跌眼镜
    简化得最没道理的6个汉字,让人大跌眼镜
    简化得最没道理的6个汉字,让人大跌眼镜
    java面向对象高级分层实例_测试类(main方法所在的类)
    java面向对象高级分层实例_测试类(main方法所在的类)
    java面向对象高级分层实例_测试类(main方法所在的类)
    java面向对象高级分层实例_数据库操作类
    squared-error loss is much more repaidly updated than mean-absolute-deviation when searching for splits
    Greedy Function Approximation:A Gradient Boosting Machine
    ridge regression 无惩罚,导致预测结果空间过大而无实用价值
  • 原文地址:https://www.cnblogs.com/xuzhong/p/2764955.html
Copyright © 2011-2022 走看看