当业务流程被暂停时,辅助类中使用的静态变量会发生什么? [英] What happens to static variables used in helper classes, when orchestration gets suspended?

查看:87
本文介绍了当业务流程被暂停时,辅助类中使用的静态变量会发生什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当业务流程被挂起时,helper类中使用的静态变量会发生什么?它们是否为空?

What happens to static variables used in helper classes, when orchestration gets suspended? Do they become null?

推荐答案

您好ak47,

Hi ak47,

不,它们应该保留它们的值。这真的与BizTalk无关,但是.Net的工作方式。静态变量保存在当前的CLR运行时(即 - 作为NT服务运行的当前BizTalk主机实例)。

No, they should hold their value. This really has nothing to do with BizTalk, but the way .Net works. Static variables are held in the current CLR Runtime (that is - the current BizTalk host instance that is run as a NT Service).

Br ,

Leo


这篇关于当业务流程被暂停时,辅助类中使用的静态变量会发生什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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