Beispiel #1
0
 public override void AddFieldsToFormatter(NmqiStructureFormatter fmt)
 {
     base.AddFieldsToFormatter(fmt);
     fmt.Add("Format", this.xid.formatID);
     fmt.Add("DistributedTransIdLength", (int)this.xid.gtrid_length);
     fmt.Add("DistributedTransId", Encoding.Unicode.GetString(this.GlobalTransactionId.ToByteArray()));
     fmt.Add("LocalTransIdLength", (int)this.xid.bqual_length);
     fmt.Add("LocalTransId", this.LocalTransactionId);
 }
Beispiel #2
0
 public override void AddFieldsToFormatter(NmqiStructureFormatter fmt)
 {
     base.AddFieldsToFormatter(fmt);
     fmt.Add("Format", this.xa_info.xa_info_length);
     fmt.Add("Xa_Info", Encoding.Unicode.GetString(this.xa_info.xa_info, 0, this.xa_info.xa_info_length));
 }