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);
  • 相关阅读:
    深度学习-Tensorflow2.2-深度学习基础和tf.keras{1}-softmax多分类-06
    深度学习-Tensorflow2.2-深度学习基础和tf.keras{1}-逻辑回归与交叉熵概述-05
    深度学习-Tensorflow2.2-深度学习基础和tf.keras{1}-多层感知器(神经网络)与激活函数概述-04
    深度学习-Tensorflow2.2-深度学习基础和tf.keras{1}-梯度下降算法概述-03
    深度学习-Tensorflow2.2-深度学习基础和tf.keras{1}-线性回归tf.keras概述-02
    深度学习-Tensorflow2.2-深度学习基础和tf.keras{1}-Tensorflow2.2-cpu/gpu环境安装-01
    深度学习-线性回归基础-02
    艾宾浩斯复习
    maven中设置jdk默认编译版本为1.8
    maven 编译命令
  • 原文地址:https://www.cnblogs.com/xuzhong/p/2764955.html
Copyright © 2011-2022 走看看