Skip to main content

How to integrate BizTalk Server 2010 / 2013 with Service Bus for Windows Server

This solution shows how to integrate a BizTalk Server 2010/2013 application with Service Bus for Windows Server using the WCF-Custom adapter to exchange messages with external systems in a reliable, flexible, and scalable manner.

C# (5.3 MB)
 
 
 
 
 
4.7 Star
(6)
1,708 times
Add to favorites
6/20/2014
E-mail Twitter del.icio.us Digg Facebook

Solution explorer

C#
namespace Microsoft.WindowsAzure.CAT.Samples.ServiceBusForWindowsServer.PropertySchemas {
    using Microsoft.XLANGs.BaseTypes;
    
    
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.BizTalk.Schema.Compiler", "3.0.1.0")]
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    [SchemaType(SchemaTypeEnum.Property)]
    [System.SerializableAttribute()]
    [SchemaRoots(new string[] {@"ContentType", @"CorrelationId", @"DeliveryCount", @"EnqueuedTimeUtc", @"ExpiresAtUtc", @"Label", @"LockedUntilUtc", @"LockToken", @"MessageId", @"ReplyTo", @"ReplyToSessionId", @"ScheduledEnqueueTimeUtc", @"SequenceNumber", @"SessionId", @"TimeToLive", @"To"})]
    public sealed class BrokeredMessagePropertySchema : Microsoft.XLANGs.BaseTypes.SchemaBase {
        
        [System.NonSerializedAttribute()]
        private static object _rawSchema;
        
        [System.NonSerializedAttribute()]
        private const string _strSchema = @"<?xml version=""1.0"" encoding=""utf-16""?>
<xs:schema xmlns=""http://Microsoft.WindowsAzure.CAT.Samples.ServiceBusForWindowsServer.Schemas.BrokeredMessagePropertySchema"" xmlns:b=""http://schemas.microsoft.com/BizTalk/2003"" xmlns:ns0=""http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property"" targetNamespace=""http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property"" xmlns:xs=""http://www.w3.org/2001/XMLSchema"">
  <xs:annotation>
    <xs:appinfo>
      <b:schemaInfo schema_type=""property"" xmlns:b=""http://schemas.microsoft.com/BizTalk/2003"" />
    </xs:appinfo>
  </xs:annotation>
  <xs:element name=""ContentType"" type=""xs:string"">
    <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo propertyGuid=""110db84b-0667-4cc4-8fab-a9574843382c"" propSchFieldBase=""MessageContextPropertyBase"" />
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
  <xs:element name=""CorrelationId"" type=""xs:string"">
    <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo propertyGuid=""a9d3577b-7125-43fa-9d6b-347960c9ef3f"" propSchFieldBase=""MessageContextPropertyBase"" />
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
  <xs:element name=""DeliveryCount"" type=""xs:int"">
    <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo propertyGuid=""92267c27-672a-42ce-b94e-b492b939a631"" propSchFieldBase=""MessageContextPropertyBase"" />
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
  <xs:element name=""EnqueuedTimeUtc"" type=""xs:dateTime"">
    <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo propertyGuid=""e6650031-5240-47c3-abbe-420b70e74824"" propSchFieldBase=""MessageContextPropertyBase"" />
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
  <xs:element name=""ExpiresAtUtc"" type=""xs:dateTime"">
    <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo propertyGuid=""73ce972f-4281-418b-aa5c-29213698a640"" propSchFieldBase=""MessageContextPropertyBase"" />
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
  <xs:element name=""Label"" type=""xs:string"">
    <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo propertyGuid=""84dbb9eb-1628-4c6d-9280-df340558b18d"" propSchFieldBase=""MessageContextPropertyBase"" />
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
  <xs:element name=""LockedUntilUtc"" type=""xs:dateTime"">
    <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo propertyGuid=""e01e405a-cbcf-4870-99eb-08ff96613f16"" propSchFieldBase=""MessageContextPropertyBase"" />
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
  <xs:element name=""LockToken"" type=""xs:string"">
    <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo propertyGuid=""88263828-cabb-4eb0-ba2c-b74527578811"" propSchFieldBase=""MessageContextPropertyBase"" />
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
  <xs:element name=""MessageId"" type=""xs:string"">
    <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo propertyGuid=""affc5bbe-45e9-4959-affb-9af115c19516"" propSchFieldBase=""MessageContextPropertyBase"" />
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
  <xs:element name=""ReplyTo"" type=""xs:string"">
    <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo propertyGuid=""44a84931-ec09-4f02-b6a1-51742289b1cc"" propSchFieldBase=""MessageContextPropertyBase"" />
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
  <xs:element name=""ReplyToSessionId"" type=""xs:string"">
    <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo propertyGuid=""67a74c44-e706-48f5-81b7-1d00a002104b"" propSchFieldBase=""MessageContextPropertyBase"" />
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
  <xs:element name=""ScheduledEnqueueTimeUtc"" type=""xs:dateTime"">
    <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo propertyGuid=""c82bbecd-197d-466c-986e-2a5a0e19e299"" propSchFieldBase=""MessageContextPropertyBase"" />
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
  <xs:element name=""SequenceNumber"" type=""xs:long"">
    <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo propertyGuid=""d2f9b459-e01e-4ee3-a4bc-cdf00d7679a6"" propSchFieldBase=""MessageContextPropertyBase"" />
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
  <xs:element name=""SessionId"" type=""xs:string"">
    <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo propertyGuid=""641bc81f-575e-483e-8f02-6c0d761ef91f"" propSchFieldBase=""MessageContextPropertyBase"" />
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
  <xs:element name=""TimeToLive"" type=""xs:long"">
    <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo propertyGuid=""9e93e2c2-2ff4-46f8-bd2c-7c9d6803164f"" propSchFieldBase=""MessageContextPropertyBase"" />
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
  <xs:element name=""To"" type=""xs:string"">
    <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo propertyGuid=""64b1606a-c5b9-4536-8938-e7e2eea5a509"" propSchFieldBase=""MessageContextPropertyBase"" />
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
</xs:schema>";
        
        public BrokeredMessagePropertySchema() {
        }
        
        public override string XmlContent {
            get {
                return _strSchema;
            }
        }
        
        public override string[] RootNodes {
            get {
                string[] _RootElements = new string [16];
                _RootElements[0] = "ContentType";
                _RootElements[1] = "CorrelationId";
                _RootElements[2] = "DeliveryCount";
                _RootElements[3] = "EnqueuedTimeUtc";
                _RootElements[4] = "ExpiresAtUtc";
                _RootElements[5] = "Label";
                _RootElements[6] = "LockedUntilUtc";
                _RootElements[7] = "LockToken";
                _RootElements[8] = "MessageId";
                _RootElements[9] = "ReplyTo";
                _RootElements[10] = "ReplyToSessionId";
                _RootElements[11] = "ScheduledEnqueueTimeUtc";
                _RootElements[12] = "SequenceNumber";
                _RootElements[13] = "SessionId";
                _RootElements[14] = "TimeToLive";
                _RootElements[15] = "To";
                return _RootElements;
            }
        }
        
        protected override object RawSchema {
            get {
                return _rawSchema;
            }
            set {
                _rawSchema = value;
            }
        }
    }
    
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.BizTalk.Schema.Compiler", "3.0.1.0")]
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    [System.SerializableAttribute()]
    [PropertyType(@"ContentType",@"http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property","string","System.String")]
    [PropertyGuidAttribute(@"110db84b-0667-4cc4-8fab-a9574843382c")]
    public sealed class ContentType : Microsoft.XLANGs.BaseTypes.MessageContextPropertyBase {
        
        [System.NonSerializedAttribute()]
        private static System.Xml.XmlQualifiedName _QName = new System.Xml.XmlQualifiedName(@"ContentType", @"http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property");
        
        private static string PropertyValueType {
            get {
                throw new System.NotSupportedException();
            }
        }
        
        public override System.Xml.XmlQualifiedName Name {
            get {
                return _QName;
            }
        }
        
        public override System.Type Type {
            get {
                return typeof(string);
            }
        }
    }
    
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.BizTalk.Schema.Compiler", "3.0.1.0")]
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    [System.SerializableAttribute()]
    [PropertyType(@"CorrelationId",@"http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property","string","System.String")]
    [PropertyGuidAttribute(@"a9d3577b-7125-43fa-9d6b-347960c9ef3f")]
    public sealed class CorrelationId : Microsoft.XLANGs.BaseTypes.MessageContextPropertyBase {
        
        [System.NonSerializedAttribute()]
        private static System.Xml.XmlQualifiedName _QName = new System.Xml.XmlQualifiedName(@"CorrelationId", @"http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property");
        
        private static string PropertyValueType {
            get {
                throw new System.NotSupportedException();
            }
        }
        
        public override System.Xml.XmlQualifiedName Name {
            get {
                return _QName;
            }
        }
        
        public override System.Type Type {
            get {
                return typeof(string);
            }
        }
    }
    
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.BizTalk.Schema.Compiler", "3.0.1.0")]
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    [System.SerializableAttribute()]
    [PropertyType(@"DeliveryCount",@"http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property","int","System.Int32")]
    [PropertyGuidAttribute(@"92267c27-672a-42ce-b94e-b492b939a631")]
    public sealed class DeliveryCount : Microsoft.XLANGs.BaseTypes.MessageContextPropertyBase {
        
        [System.NonSerializedAttribute()]
        private static System.Xml.XmlQualifiedName _QName = new System.Xml.XmlQualifiedName(@"DeliveryCount", @"http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property");
        
        private static int PropertyValueType {
            get {
                throw new System.NotSupportedException();
            }
        }
        
        public override System.Xml.XmlQualifiedName Name {
            get {
                return _QName;
            }
        }
        
        public override System.Type Type {
            get {
                return typeof(int);
            }
        }
    }
    
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.BizTalk.Schema.Compiler", "3.0.1.0")]
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    [System.SerializableAttribute()]
    [PropertyType(@"EnqueuedTimeUtc",@"http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property","dateTime","System.DateTime")]
    [PropertyGuidAttribute(@"e6650031-5240-47c3-abbe-420b70e74824")]
    public sealed class EnqueuedTimeUtc : Microsoft.XLANGs.BaseTypes.MessageContextPropertyBase {
        
        [System.NonSerializedAttribute()]
        private static System.Xml.XmlQualifiedName _QName = new System.Xml.XmlQualifiedName(@"EnqueuedTimeUtc", @"http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property");
        
        private static System.DateTime PropertyValueType {
            get {
                throw new System.NotSupportedException();
            }
        }
        
        public override System.Xml.XmlQualifiedName Name {
            get {
                return _QName;
            }
        }
        
        public override System.Type Type {
            get {
                return typeof(System.DateTime);
            }
        }
    }
    
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.BizTalk.Schema.Compiler", "3.0.1.0")]
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    [System.SerializableAttribute()]
    [PropertyType(@"ExpiresAtUtc",@"http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property","dateTime","System.DateTime")]
    [PropertyGuidAttribute(@"73ce972f-4281-418b-aa5c-29213698a640")]
    public sealed class ExpiresAtUtc : Microsoft.XLANGs.BaseTypes.MessageContextPropertyBase {
        
        [System.NonSerializedAttribute()]
        private static System.Xml.XmlQualifiedName _QName = new System.Xml.XmlQualifiedName(@"ExpiresAtUtc", @"http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property");
        
        private static System.DateTime PropertyValueType {
            get {
                throw new System.NotSupportedException();
            }
        }
        
        public override System.Xml.XmlQualifiedName Name {
            get {
                return _QName;
            }
        }
        
        public override System.Type Type {
            get {
                return typeof(System.DateTime);
            }
        }
    }
    
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.BizTalk.Schema.Compiler", "3.0.1.0")]
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    [System.SerializableAttribute()]
    [PropertyType(@"Label",@"http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property","string","System.String")]
    [PropertyGuidAttribute(@"84dbb9eb-1628-4c6d-9280-df340558b18d")]
    public sealed class Label : Microsoft.XLANGs.BaseTypes.MessageContextPropertyBase {
        
        [System.NonSerializedAttribute()]
        private static System.Xml.XmlQualifiedName _QName = new System.Xml.XmlQualifiedName(@"Label", @"http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property");
        
        private static string PropertyValueType {
            get {
                throw new System.NotSupportedException();
            }
        }
        
        public override System.Xml.XmlQualifiedName Name {
            get {
                return _QName;
            }
        }
        
        public override System.Type Type {
            get {
                return typeof(string);
            }
        }
    }
    
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.BizTalk.Schema.Compiler", "3.0.1.0")]
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    [System.SerializableAttribute()]
    [PropertyType(@"LockedUntilUtc",@"http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property","dateTime","System.DateTime")]
    [PropertyGuidAttribute(@"e01e405a-cbcf-4870-99eb-08ff96613f16")]
    public sealed class LockedUntilUtc : Microsoft.XLANGs.BaseTypes.MessageContextPropertyBase {
        
        [System.NonSerializedAttribute()]
        private static System.Xml.XmlQualifiedName _QName = new System.Xml.XmlQualifiedName(@"LockedUntilUtc", @"http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property");
        
        private static System.DateTime PropertyValueType {
            get {
                throw new System.NotSupportedException();
            }
        }
        
        public override System.Xml.XmlQualifiedName Name {
            get {
                return _QName;
            }
        }
        
        public override System.Type Type {
            get {
                return typeof(System.DateTime);
            }
        }
    }
    
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.BizTalk.Schema.Compiler", "3.0.1.0")]
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    [System.SerializableAttribute()]
    [PropertyType(@"LockToken",@"http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property","string","System.String")]
    [PropertyGuidAttribute(@"88263828-cabb-4eb0-ba2c-b74527578811")]
    public sealed class LockToken : Microsoft.XLANGs.BaseTypes.MessageContextPropertyBase {
        
        [System.NonSerializedAttribute()]
        private static System.Xml.XmlQualifiedName _QName = new System.Xml.XmlQualifiedName(@"LockToken", @"http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property");
        
        private static string PropertyValueType {
            get {
                throw new System.NotSupportedException();
            }
        }
        
        public override System.Xml.XmlQualifiedName Name {
            get {
                return _QName;
            }
        }
        
        public override System.Type Type {
            get {
                return typeof(string);
            }
        }
    }
    
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.BizTalk.Schema.Compiler", "3.0.1.0")]
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    [System.SerializableAttribute()]
    [PropertyType(@"MessageId",@"http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property","string","System.String")]
    [PropertyGuidAttribute(@"affc5bbe-45e9-4959-affb-9af115c19516")]
    public sealed class MessageId : Microsoft.XLANGs.BaseTypes.MessageContextPropertyBase {
        
        [System.NonSerializedAttribute()]
        private static System.Xml.XmlQualifiedName _QName = new System.Xml.XmlQualifiedName(@"MessageId", @"http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property");
        
        private static string PropertyValueType {
            get {
                throw new System.NotSupportedException();
            }
        }
        
        public override System.Xml.XmlQualifiedName Name {
            get {
                return _QName;
            }
        }
        
        public override System.Type Type {
            get {
                return typeof(string);
            }
        }
    }
    
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.BizTalk.Schema.Compiler", "3.0.1.0")]
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    [System.SerializableAttribute()]
    [PropertyType(@"ReplyTo",@"http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property","string","System.String")]
    [PropertyGuidAttribute(@"44a84931-ec09-4f02-b6a1-51742289b1cc")]
    public sealed class ReplyTo : Microsoft.XLANGs.BaseTypes.MessageContextPropertyBase {
        
        [System.NonSerializedAttribute()]
        private static System.Xml.XmlQualifiedName _QName = new System.Xml.XmlQualifiedName(@"ReplyTo", @"http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property");
        
        private static string PropertyValueType {
            get {
                throw new System.NotSupportedException();
            }
        }
        
        public override System.Xml.XmlQualifiedName Name {
            get {
                return _QName;
            }
        }
        
        public override System.Type Type {
            get {
                return typeof(string);
            }
        }
    }
    
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.BizTalk.Schema.Compiler", "3.0.1.0")]
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    [System.SerializableAttribute()]
    [PropertyType(@"ReplyToSessionId",@"http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property","string","System.String")]
    [PropertyGuidAttribute(@"67a74c44-e706-48f5-81b7-1d00a002104b")]
    public sealed class ReplyToSessionId : Microsoft.XLANGs.BaseTypes.MessageContextPropertyBase {
        
        [System.NonSerializedAttribute()]
        private static System.Xml.XmlQualifiedName _QName = new System.Xml.XmlQualifiedName(@"ReplyToSessionId", @"http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property");
        
        private static string PropertyValueType {
            get {
                throw new System.NotSupportedException();
            }
        }
        
        public override System.Xml.XmlQualifiedName Name {
            get {
                return _QName;
            }
        }
        
        public override System.Type Type {
            get {
                return typeof(string);
            }
        }
    }
    
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.BizTalk.Schema.Compiler", "3.0.1.0")]
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    [System.SerializableAttribute()]
    [PropertyType(@"ScheduledEnqueueTimeUtc",@"http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property","dateTime","System.DateTime")]
    [PropertyGuidAttribute(@"c82bbecd-197d-466c-986e-2a5a0e19e299")]
    public sealed class ScheduledEnqueueTimeUtc : Microsoft.XLANGs.BaseTypes.MessageContextPropertyBase {
        
        [System.NonSerializedAttribute()]
        private static System.Xml.XmlQualifiedName _QName = new System.Xml.XmlQualifiedName(@"ScheduledEnqueueTimeUtc", @"http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property");
        
        private static System.DateTime PropertyValueType {
            get {
                throw new System.NotSupportedException();
            }
        }
        
        public override System.Xml.XmlQualifiedName Name {
            get {
                return _QName;
            }
        }
        
        public override System.Type Type {
            get {
                return typeof(System.DateTime);
            }
        }
    }
    
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.BizTalk.Schema.Compiler", "3.0.1.0")]
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    [System.SerializableAttribute()]
    [PropertyType(@"SequenceNumber",@"http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property","long","System.Int64")]
    [PropertyGuidAttribute(@"d2f9b459-e01e-4ee3-a4bc-cdf00d7679a6")]
    public sealed class SequenceNumber : Microsoft.XLANGs.BaseTypes.MessageContextPropertyBase {
        
        [System.NonSerializedAttribute()]
        private static System.Xml.XmlQualifiedName _QName = new System.Xml.XmlQualifiedName(@"SequenceNumber", @"http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property");
        
        private static long PropertyValueType {
            get {
                throw new System.NotSupportedException();
            }
        }
        
        public override System.Xml.XmlQualifiedName Name {
            get {
                return _QName;
            }
        }
        
        public override System.Type Type {
            get {
                return typeof(long);
            }
        }
    }
    
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.BizTalk.Schema.Compiler", "3.0.1.0")]
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    [System.SerializableAttribute()]
    [PropertyType(@"SessionId",@"http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property","string","System.String")]
    [PropertyGuidAttribute(@"641bc81f-575e-483e-8f02-6c0d761ef91f")]
    public sealed class SessionId : Microsoft.XLANGs.BaseTypes.MessageContextPropertyBase {
        
        [System.NonSerializedAttribute()]
        private static System.Xml.XmlQualifiedName _QName = new System.Xml.XmlQualifiedName(@"SessionId", @"http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property");
        
        private static string PropertyValueType {
            get {
                throw new System.NotSupportedException();
            }
        }
        
        public override System.Xml.XmlQualifiedName Name {
            get {
                return _QName;
            }
        }
        
        public override System.Type Type {
            get {
                return typeof(string);
            }
        }
    }
    
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.BizTalk.Schema.Compiler", "3.0.1.0")]
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    [System.SerializableAttribute()]
    [PropertyType(@"TimeToLive",@"http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property","long","System.Int64")]
    [PropertyGuidAttribute(@"9e93e2c2-2ff4-46f8-bd2c-7c9d6803164f")]
    public sealed class TimeToLive : Microsoft.XLANGs.BaseTypes.MessageContextPropertyBase {
        
        [System.NonSerializedAttribute()]
        private static System.Xml.XmlQualifiedName _QName = new System.Xml.XmlQualifiedName(@"TimeToLive", @"http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property");
        
        private static long PropertyValueType {
            get {
                throw new System.NotSupportedException();
            }
        }
        
        public override System.Xml.XmlQualifiedName Name {
            get {
                return _QName;
            }
        }
        
        public override System.Type Type {
            get {
                return typeof(long);
            }
        }
    }
    
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.BizTalk.Schema.Compiler", "3.0.1.0")]
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    [System.SerializableAttribute()]
    [PropertyType(@"To",@"http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property","string","System.String")]
    [PropertyGuidAttribute(@"64b1606a-c5b9-4536-8938-e7e2eea5a509")]
    public sealed class To : Microsoft.XLANGs.BaseTypes.MessageContextPropertyBase {
        
        [System.NonSerializedAttribute()]
        private static System.Xml.XmlQualifiedName _QName = new System.Xml.XmlQualifiedName(@"To", @"http://schemas.microsoft.com/servicebusforwindowsserver/2013/brokered-message-property");
        
        private static string PropertyValueType {
            get {
                throw new System.NotSupportedException();
            }
        }
        
        public override System.Xml.XmlQualifiedName Name {
            get {
                return _QName;
            }
        }
        
        public override System.Type Type {
            get {
                return typeof(string);
            }
        }
    }
}