TransactionLog和ProcessLog如何在我的代码中添加可以执行异常处理的位置 [英] TransactionLog and ProcessLog how to add in my code where i can do exception handling

查看:57
本文介绍了TransactionLog和ProcessLog如何在我的代码中添加可以执行异常处理的位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我创建了一个TransactionLog类和ProcessLog类,现在
我必须将其集成到我的C#代码中,如何执行此操作.

请帮我.


Thanks&Regards

Hi All,

I created one TransactionLog class and ProcessLog class, Now
i have to integrate it in my C# code,How to do this.

pls Pls, help me.


Thanks & Regards

推荐答案

将其放在主类之前和名称空间之后的同一个C#文件中,因此您可以在主类中使用它们,就像创建实例一样从这些类中,您可以使用这些类中包含的方法
put it in the same C# file before the main Class and after the namespace so you can use them in the main class like you can create an instance from these classes and you can use the methods included in those classes


这篇关于TransactionLog和ProcessLog如何在我的代码中添加可以执行异常处理的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆