Something about Distinguished Field

原创 2007年10月03日 12:42:00
Some facts with distinguished field that often confused me:
  • ·         What is a distinguished field?
Yes, it is light-weighted, it stored as xpath pointer compared to promoted property stored in message context. Yes, distinguished field is mainly used in orchestration compared to promoted properties could be used everywhere. However, distinguished field CAN be used in pipeline component as well. The namespace for it is GlobalProperties. DistinguishedFieldsNamespace ( As a reference, it could be set in pipeline component like followed code
m_msgCtx.Write(base.XPath, Globals.DistinguishedFieldsNamespace, str);
  • ·         How did its value been produced?
There is no magic of this, all BizTalk built in pipelines (except pass-through) implement a way to automatically promote the distinguished field while pipeline execution. Take XML disassemble for example, in its Disassemble method, it invokes XmlDasmReader to loop through all distinguished fields and promote them
IDictionaryEnumerator distinguishedPropertyAnnotationEnumerator = docSpecType.GetDistinguishedPropertyAnnotationEnumerator();
  • ·         What the above behavior means?
It means if you write your own disassemble pipeline component and does not deliberately promote the distinguished field by
propertyBag.Write(distField.XPath, Globals.DistinguishedFieldsNamespace,
If you do not do this, you won’t be able to use the distinguished field in orchestration!
·         Performance wise, which is better? Promoted property or distinguished field.
Distinguished field takes the lead. Since it is rather light-weighted and much less overhead.

【HDU 5984 Pocky】+ 数学

Pocky Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Su...
  • WYK1823376647
  • WYK1823376647
  • 2016年12月04日 21:37
  • 701


Pocky Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submi...
  • 2017年03月31日 22:06
  • 475

HDU5984 Pocky

Pocky Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others) Total Su...
  • xky140610205
  • xky140610205
  • 2016年11月28日 22:24
  • 616

解决:ruby We're sorry, but something went wrong.We've been notified about this issue and we'll take a look at it shortly.

本人是ruby on rails 的初学者,前几天碰到了如上所示的问题,google了老半天,终于在一篇老外的博客上发现了问题,原来查看log目录下的development.log发现了问题所在“!/...
  • zhong871004
  • zhong871004
  • 2009年07月24日 15:57
  • 8811

Something about ...

一直都觉得《Friends》是部典型的肥皂剧,就像以前国内的《我爱我家》一样,纯粹用来消磨时间而已。 最开始知道《Friends》大概还是在两三年前吧,网上的一帮《Friends》的fans把这片子吹...
  • CrazyKyro
  • CrazyKyro
  • 2004年10月20日 14:48
  • 403

hdu5984 Pocky(猜数学期望公式)

题目链接: 题目大意: 对于一根长度为 L 的木棍,每次等概率的取一个点将其分成两半...
  • qq_29980371
  • qq_29980371
  • 2017年10月10日 11:21
  • 160

在使用apt-get安装报错:To continue type in the phrase 'Yes, do as I say!' ?] 解决方法

在使用apt-get安装软件包时可能会出现类似如下错误: WARNING: The following essential packages will be removed. This should ...
  • Sky_qing
  • Sky_qing
  • 2013年08月01日 21:03
  • 3403

面试最难的问题--Tell Me About Yourself

面试中必会被问到的问题之一就是“请你谈谈你自己”。很多人对这个问题的回答就是简略的背一下简历。事实上这样的回答枯燥无味。那么,该怎样回答这个问题呢?   When you, as a job seek...
  • afterain
  • afterain
  • 2008年07月03日 15:26
  • 432

something about twitter

一点想法 找到有影响力的人之后,可不可以找到这群人所具备的特点(从发微博的特征,个人描述来看)。了解为什么会被影响。...
  • forevsmile
  • forevsmile
  • 2013年08月23日 11:45
  • 237

something about webservice

发信人: opc (CC), 信区: Java 标  题: Re: webservice用在什么场合比较好 发信站: 水木社区 (Fri Mar 15 11:44:16 2013), 站内 ...
  • 2013年09月20日 22:39
  • 674
您举报文章:Something about Distinguished Field