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,705 times
Add to favorites
6/20/2014
E-mail Twitter del.icio.us Digg Facebook

Solution explorer

C#
namespace Microsoft.WindowsAzure.CAT.Schemas {
    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.ServiceBus.Schemas.BrokeredMessagePropertySchema"" xmlns:b=""http://schemas.microsoft.com/BizTalk/2003"" xmlns:ns0=""http://schemas.microsoft.com/servicebus/2011/brokered-message-property"" targetNamespace=""http://schemas.microsoft.com/servicebus/2011/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=""c9b5f35d-b5a2-46a3-a938-88c94dccfa0b"" propSchFieldBase=""MessageContextPropertyBase"" />
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
  <xs:element name=""CorrelationId"" type=""xs:string"">
    <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo propertyGuid=""42b8a18d-e070-4d54-8800-bc1bcc57fd8e"" propSchFieldBase=""MessageContextPropertyBase"" />
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
  <xs:element name=""DeliveryCount"" type=""xs:int"">
    <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo propertyGuid=""12c7603a-18cf-4a69-a943-e35c503534cc"" propSchFieldBase=""MessageContextPropertyBase"" />
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
  <xs:element name=""EnqueuedTimeUtc"" type=""xs:dateTime"">
    <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo propertyGuid=""ef4d8b56-b7e8-4031-a3c0-2eaf0f96308b"" propSchFieldBase=""MessageContextPropertyBase"" />
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
  <xs:element name=""ExpiresAtUtc"" type=""xs:dateTime"">
    <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo propertyGuid=""a3ffc219-ef38-4fe9-900d-0a60c3a63234"" propSchFieldBase=""MessageContextPropertyBase"" />
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
  <xs:element name=""Label"" type=""xs:string"">
    <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo propertyGuid=""a9c1154b-27fd-4b77-8f57-2f23994e5902"" propSchFieldBase=""MessageContextPropertyBase"" />
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
  <xs:element name=""LockedUntilUtc"" type=""xs:dateTime"">
    <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo propertyGuid=""8c5ef271-f552-43d2-8150-cb9a002f2373"" propSchFieldBase=""MessageContextPropertyBase"" />
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
  <xs:element name=""LockToken"" type=""xs:string"">
    <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo propertyGuid=""e4fb7b4b-a92a-441c-b694-a343af08a5a6"" propSchFieldBase=""MessageContextPropertyBase"" />
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
  <xs:element name=""MessageId"" type=""xs:string"">
    <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo propertyGuid=""6f1f932c-f330-41de-8e73-83370ba1a4f2"" propSchFieldBase=""MessageContextPropertyBase"" />
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
  <xs:element name=""ReplyTo"" type=""xs:string"">
    <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo propertyGuid=""f1c8aa6a-edd0-4a0e-ac04-ec866d26683d"" propSchFieldBase=""MessageContextPropertyBase"" />
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
  <xs:element name=""ReplyToSessionId"" type=""xs:string"">
    <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo propertyGuid=""309d0aa6-e011-47b3-94f8-b5a30a4584cb"" propSchFieldBase=""MessageContextPropertyBase"" />
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
  <xs:element name=""ScheduledEnqueueTimeUtc"" type=""xs:dateTime"">
    <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo propertyGuid=""30668f2f-4846-4731-a947-38ab65a074ea"" propSchFieldBase=""MessageContextPropertyBase"" />
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
  <xs:element name=""SequenceNumber"" type=""xs:long"">
    <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo propertyGuid=""42e2ee05-29f3-4fd3-a78d-0d8d841dab4b"" propSchFieldBase=""MessageContextPropertyBase"" />
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
  <xs:element name=""SessionId"" type=""xs:string"">
    <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo propertyGuid=""5d94f9e0-12e9-474e-bdf7-9273011ec47b"" propSchFieldBase=""MessageContextPropertyBase"" />
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
  <xs:element name=""TimeToLive"" type=""xs:long"">
    <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo propertyGuid=""ae4209a8-7895-4c12-86c6-0e94667ccf47"" propSchFieldBase=""MessageContextPropertyBase"" />
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
  <xs:element name=""To"" type=""xs:string"">
    <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo propertyGuid=""a590167d-a54d-4e8c-87f5-78fda55eb988"" 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/servicebus/2011/brokered-message-property","string","System.String")]
    [PropertyGuidAttribute(@"c9b5f35d-b5a2-46a3-a938-88c94dccfa0b")]
    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/servicebus/2011/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/servicebus/2011/brokered-message-property","string","System.String")]
    [PropertyGuidAttribute(@"42b8a18d-e070-4d54-8800-bc1bcc57fd8e")]
    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/servicebus/2011/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/servicebus/2011/brokered-message-property","int","System.Int32")]
    [PropertyGuidAttribute(@"12c7603a-18cf-4a69-a943-e35c503534cc")]
    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/servicebus/2011/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/servicebus/2011/brokered-message-property","dateTime","System.DateTime")]
    [PropertyGuidAttribute(@"ef4d8b56-b7e8-4031-a3c0-2eaf0f96308b")]
    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/servicebus/2011/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/servicebus/2011/brokered-message-property","dateTime","System.DateTime")]
    [PropertyGuidAttribute(@"a3ffc219-ef38-4fe9-900d-0a60c3a63234")]
    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/servicebus/2011/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/servicebus/2011/brokered-message-property","string","System.String")]
    [PropertyGuidAttribute(@"a9c1154b-27fd-4b77-8f57-2f23994e5902")]
    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/servicebus/2011/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/servicebus/2011/brokered-message-property","dateTime","System.DateTime")]
    [PropertyGuidAttribute(@"8c5ef271-f552-43d2-8150-cb9a002f2373")]
    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/servicebus/2011/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/servicebus/2011/brokered-message-property","string","System.String")]
    [PropertyGuidAttribute(@"e4fb7b4b-a92a-441c-b694-a343af08a5a6")]
    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/servicebus/2011/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/servicebus/2011/brokered-message-property","string","System.String")]
    [PropertyGuidAttribute(@"6f1f932c-f330-41de-8e73-83370ba1a4f2")]
    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/servicebus/2011/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/servicebus/2011/brokered-message-property","string","System.String")]
    [PropertyGuidAttribute(@"f1c8aa6a-edd0-4a0e-ac04-ec866d26683d")]
    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/servicebus/2011/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/servicebus/2011/brokered-message-property","string","System.String")]
    [PropertyGuidAttribute(@"309d0aa6-e011-47b3-94f8-b5a30a4584cb")]
    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/servicebus/2011/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/servicebus/2011/brokered-message-property","dateTime","System.DateTime")]
    [PropertyGuidAttribute(@"30668f2f-4846-4731-a947-38ab65a074ea")]
    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/servicebus/2011/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/servicebus/2011/brokered-message-property","long","System.Int64")]
    [PropertyGuidAttribute(@"42e2ee05-29f3-4fd3-a78d-0d8d841dab4b")]
    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/servicebus/2011/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/servicebus/2011/brokered-message-property","string","System.String")]
    [PropertyGuidAttribute(@"5d94f9e0-12e9-474e-bdf7-9273011ec47b")]
    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/servicebus/2011/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/servicebus/2011/brokered-message-property","long","System.Int64")]
    [PropertyGuidAttribute(@"ae4209a8-7895-4c12-86c6-0e94667ccf47")]
    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/servicebus/2011/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/servicebus/2011/brokered-message-property","string","System.String")]
    [PropertyGuidAttribute(@"a590167d-a54d-4e8c-87f5-78fda55eb988")]
    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/servicebus/2011/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);
            }
        }
    }
}