Skip to main content

Microsoft® Surface® Live Stream Code Sample

ive Stream enables businesses to engage their customers face-to-face using the most recent and relevant Twitter™, Flickr®, and RSS newsfeeds.

C# (5.9 MB)
 
 
 
 
 
4.3 Star
(4)
6,672 times
Add to favorites
4/19/2011
E-mail Twitter del.icio.us Digg Facebook

Solution explorer

C#
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:4.0.30319.1
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace LiveStream.MicrosoftTagService {
    using System.Runtime.Serialization;
    using System;
    
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="UserCredential", Namespace="http://www.ws.tag.microsoft.com/ver1")]
    [System.SerializableAttribute()]
    internal partial class UserCredential : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        private string AccessTokenField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        internal string AccessToken {
            get {
                return this.AccessTokenField;
            }
            set {
                if ((object.ReferenceEquals(this.AccessTokenField, value) != true)) {
                    this.AccessTokenField = value;
                    this.RaisePropertyChanged("AccessToken");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="Category", Namespace="http://www.ws.tag.microsoft.com/ver1")]
    [System.SerializableAttribute()]
    internal partial class Category : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        private string NameField;
        
        private System.DateTime UTCStartDateField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<System.DateTime> UTCEndDateField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private LiveStream.MicrosoftTagService.CategoryStatus CategoryStatusField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        internal string Name {
            get {
                return this.NameField;
            }
            set {
                if ((object.ReferenceEquals(this.NameField, value) != true)) {
                    this.NameField = value;
                    this.RaisePropertyChanged("Name");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        internal System.DateTime UTCStartDate {
            get {
                return this.UTCStartDateField;
            }
            set {
                if ((this.UTCStartDateField.Equals(value) != true)) {
                    this.UTCStartDateField = value;
                    this.RaisePropertyChanged("UTCStartDate");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(Order=2)]
        internal System.Nullable<System.DateTime> UTCEndDate {
            get {
                return this.UTCEndDateField;
            }
            set {
                if ((this.UTCEndDateField.Equals(value) != true)) {
                    this.UTCEndDateField = value;
                    this.RaisePropertyChanged("UTCEndDate");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(Order=3)]
        internal LiveStream.MicrosoftTagService.CategoryStatus CategoryStatus {
            get {
                return this.CategoryStatusField;
            }
            set {
                if ((this.CategoryStatusField.Equals(value) != true)) {
                    this.CategoryStatusField = value;
                    this.RaisePropertyChanged("CategoryStatus");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="CategoryStatus", Namespace="http://www.ws.tag.microsoft.com/ver1")]
    internal enum CategoryStatus : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Active = 0,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Paused = 1,
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="SenderFault", Namespace="http://www.ws.tag.microsoft.com/ver1")]
    [System.SerializableAttribute()]
    internal partial class SenderFault : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        private string ErrorMessageField;
        
        private LiveStream.MicrosoftTagService.SenderFaultReason ReasonField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        internal string ErrorMessage {
            get {
                return this.ErrorMessageField;
            }
            set {
                if ((object.ReferenceEquals(this.ErrorMessageField, value) != true)) {
                    this.ErrorMessageField = value;
                    this.RaisePropertyChanged("ErrorMessage");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        internal LiveStream.MicrosoftTagService.SenderFaultReason Reason {
            get {
                return this.ReasonField;
            }
            set {
                if ((this.ReasonField.Equals(value) != true)) {
                    this.ReasonField = value;
                    this.RaisePropertyChanged("Reason");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="SenderFaultReason", Namespace="http://www.ws.tag.microsoft.com/ver1")]
    internal enum SenderFaultReason : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Unspecified = 0,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        InvalidArgument = 1,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        NullOrEmptyArgument = 2,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        InvalidFormat = 3,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        ValueOutOfRange = 4,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Overflow = 5,
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="ReceiverFault", Namespace="http://www.ws.tag.microsoft.com/ver1")]
    [System.SerializableAttribute()]
    internal partial class ReceiverFault : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        private string ErrorMessageField;
        
        private LiveStream.MicrosoftTagService.ReceiverFaultReason ReasonField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        internal string ErrorMessage {
            get {
                return this.ErrorMessageField;
            }
            set {
                if ((object.ReferenceEquals(this.ErrorMessageField, value) != true)) {
                    this.ErrorMessageField = value;
                    this.RaisePropertyChanged("ErrorMessage");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        internal LiveStream.MicrosoftTagService.ReceiverFaultReason Reason {
            get {
                return this.ReasonField;
            }
            set {
                if ((this.ReasonField.Equals(value) != true)) {
                    this.ReasonField = value;
                    this.RaisePropertyChanged("Reason");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="ReceiverFaultReason", Namespace="http://www.ws.tag.microsoft.com/ver1")]
    internal enum ReceiverFaultReason : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Unspecified = 0,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        InternalError = 1,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        RuleFailure = 2,
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="CategoryFault", Namespace="http://www.ws.tag.microsoft.com/ver1")]
    [System.SerializableAttribute()]
    internal partial class CategoryFault : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        private string ErrorMessageField;
        
        private LiveStream.MicrosoftTagService.CategoryFaultReason ReasonField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        internal string ErrorMessage {
            get {
                return this.ErrorMessageField;
            }
            set {
                if ((object.ReferenceEquals(this.ErrorMessageField, value) != true)) {
                    this.ErrorMessageField = value;
                    this.RaisePropertyChanged("ErrorMessage");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        internal LiveStream.MicrosoftTagService.CategoryFaultReason Reason {
            get {
                return this.ReasonField;
            }
            set {
                if ((this.ReasonField.Equals(value) != true)) {
                    this.ReasonField = value;
                    this.RaisePropertyChanged("Reason");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="CategoryFaultReason", Namespace="http://www.ws.tag.microsoft.com/ver1")]
    internal enum CategoryFaultReason : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Unspecified = 0,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        DuplicateName = 1,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        NotFound = 2,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        InvalidStatus = 3,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Blocked = 4,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        CascadeDelete = 5,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        DefaultCategoryDelete = 6,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        RangeSearchNotSupported = 7,
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="UserAuthFault", Namespace="http://www.ws.tag.microsoft.com/ver1")]
    [System.SerializableAttribute()]
    internal partial class UserAuthFault : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        private string ErrorMessageField;
        
        private LiveStream.MicrosoftTagService.UserAuthFaultReason ReasonField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        internal string ErrorMessage {
            get {
                return this.ErrorMessageField;
            }
            set {
                if ((object.ReferenceEquals(this.ErrorMessageField, value) != true)) {
                    this.ErrorMessageField = value;
                    this.RaisePropertyChanged("ErrorMessage");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        internal LiveStream.MicrosoftTagService.UserAuthFaultReason Reason {
            get {
                return this.ReasonField;
            }
            set {
                if ((this.ReasonField.Equals(value) != true)) {
                    this.ReasonField = value;
                    this.RaisePropertyChanged("Reason");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="UserAuthFaultReason", Namespace="http://www.ws.tag.microsoft.com/ver1")]
    internal enum UserAuthFaultReason : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Unspecified = 0,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        AuthenticationFailed = 1,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        InactiveUser = 2,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        PremiumTagCreationDenied = 3,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        InsufficientFeaturePermission = 4,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        InvalidFeaturePermission = 5,
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="Tag", Namespace="http://www.ws.tag.microsoft.com/ver1")]
    [System.SerializableAttribute()]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(LiveStream.MicrosoftTagService.VCardTag))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(LiveStream.MicrosoftTagService.FreeTextTag))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(LiveStream.MicrosoftTagService.URITag))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(LiveStream.MicrosoftTagService.DialerTag))]
    internal partial class Tag : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        private string TitleField;
        
        private string InteractionNoteField;
        
        private LiveStream.MicrosoftTagService.TagStatus StatusField;
        
        private LiveStream.MicrosoftTagService.ImageTypes TypesField;
        
        private System.DateTime UTCStartDateField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<System.DateTime> UTCEndDateField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        internal string Title {
            get {
                return this.TitleField;
            }
            set {
                if ((object.ReferenceEquals(this.TitleField, value) != true)) {
                    this.TitleField = value;
                    this.RaisePropertyChanged("Title");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=1)]
        internal string InteractionNote {
            get {
                return this.InteractionNoteField;
            }
            set {
                if ((object.ReferenceEquals(this.InteractionNoteField, value) != true)) {
                    this.InteractionNoteField = value;
                    this.RaisePropertyChanged("InteractionNote");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=2)]
        internal LiveStream.MicrosoftTagService.TagStatus Status {
            get {
                return this.StatusField;
            }
            set {
                if ((this.StatusField.Equals(value) != true)) {
                    this.StatusField = value;
                    this.RaisePropertyChanged("Status");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=3)]
        internal LiveStream.MicrosoftTagService.ImageTypes Types {
            get {
                return this.TypesField;
            }
            set {
                if ((this.TypesField.Equals(value) != true)) {
                    this.TypesField = value;
                    this.RaisePropertyChanged("Types");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=4)]
        internal System.DateTime UTCStartDate {
            get {
                return this.UTCStartDateField;
            }
            set {
                if ((this.UTCStartDateField.Equals(value) != true)) {
                    this.UTCStartDateField = value;
                    this.RaisePropertyChanged("UTCStartDate");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(Order=5)]
        internal System.Nullable<System.DateTime> UTCEndDate {
            get {
                return this.UTCEndDateField;
            }
            set {
                if ((this.UTCEndDateField.Equals(value) != true)) {
                    this.UTCEndDateField = value;
                    this.RaisePropertyChanged("UTCEndDate");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="VCardTag", Namespace="http://www.ws.tag.microsoft.com/ver1")]
    [System.SerializableAttribute()]
    internal partial class VCardTag : LiveStream.MicrosoftTagService.Tag {
        
        private bool HasFileField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private byte[] VcfDataField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string FirstNameField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string LastNameField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string EmailField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string CompanyField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string WorkPhoneField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string MobilePhoneField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string FaxField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string StreetField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string CityField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string StateField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string ZipField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string CountryField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string WebPageField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string PasswordField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string HomePhoneField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string DepartmentField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string JobTitleField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string IMAddressField;
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        internal bool HasFile {
            get {
                return this.HasFileField;
            }
            set {
                if ((this.HasFileField.Equals(value) != true)) {
                    this.HasFileField = value;
                    this.RaisePropertyChanged("HasFile");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        internal byte[] VcfData {
            get {
                return this.VcfDataField;
            }
            set {
                if ((object.ReferenceEquals(this.VcfDataField, value) != true)) {
                    this.VcfDataField = value;
                    this.RaisePropertyChanged("VcfData");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(Order=2)]
        internal string FirstName {
            get {
                return this.FirstNameField;
            }
            set {
                if ((object.ReferenceEquals(this.FirstNameField, value) != true)) {
                    this.FirstNameField = value;
                    this.RaisePropertyChanged("FirstName");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(Order=3)]
        internal string LastName {
            get {
                return this.LastNameField;
            }
            set {
                if ((object.ReferenceEquals(this.LastNameField, value) != true)) {
                    this.LastNameField = value;
                    this.RaisePropertyChanged("LastName");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(Order=4)]
        internal string Email {
            get {
                return this.EmailField;
            }
            set {
                if ((object.ReferenceEquals(this.EmailField, value) != true)) {
                    this.EmailField = value;
                    this.RaisePropertyChanged("Email");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(Order=5)]
        internal string Company {
            get {
                return this.CompanyField;
            }
            set {
                if ((object.ReferenceEquals(this.CompanyField, value) != true)) {
                    this.CompanyField = value;
                    this.RaisePropertyChanged("Company");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(Order=6)]
        internal string WorkPhone {
            get {
                return this.WorkPhoneField;
            }
            set {
                if ((object.ReferenceEquals(this.WorkPhoneField, value) != true)) {
                    this.WorkPhoneField = value;
                    this.RaisePropertyChanged("WorkPhone");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(Order=7)]
        internal string MobilePhone {
            get {
                return this.MobilePhoneField;
            }
            set {
                if ((object.ReferenceEquals(this.MobilePhoneField, value) != true)) {
                    this.MobilePhoneField = value;
                    this.RaisePropertyChanged("MobilePhone");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(Order=8)]
        internal string Fax {
            get {
                return this.FaxField;
            }
            set {
                if ((object.ReferenceEquals(this.FaxField, value) != true)) {
                    this.FaxField = value;
                    this.RaisePropertyChanged("Fax");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(Order=9)]
        internal string Street {
            get {
                return this.StreetField;
            }
            set {
                if ((object.ReferenceEquals(this.StreetField, value) != true)) {
                    this.StreetField = value;
                    this.RaisePropertyChanged("Street");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(Order=10)]
        internal string City {
            get {
                return this.CityField;
            }
            set {
                if ((object.ReferenceEquals(this.CityField, value) != true)) {
                    this.CityField = value;
                    this.RaisePropertyChanged("City");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(Order=11)]
        internal string State {
            get {
                return this.StateField;
            }
            set {
                if ((object.ReferenceEquals(this.StateField, value) != true)) {
                    this.StateField = value;
                    this.RaisePropertyChanged("State");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(Order=12)]
        internal string Zip {
            get {
                return this.ZipField;
            }
            set {
                if ((object.ReferenceEquals(this.ZipField, value) != true)) {
                    this.ZipField = value;
                    this.RaisePropertyChanged("Zip");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(Order=13)]
        internal string Country {
            get {
                return this.CountryField;
            }
            set {
                if ((object.ReferenceEquals(this.CountryField, value) != true)) {
                    this.CountryField = value;
                    this.RaisePropertyChanged("Country");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(Order=14)]
        internal string WebPage {
            get {
                return this.WebPageField;
            }
            set {
                if ((object.ReferenceEquals(this.WebPageField, value) != true)) {
                    this.WebPageField = value;
                    this.RaisePropertyChanged("WebPage");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(Order=15)]
        internal string Password {
            get {
                return this.PasswordField;
            }
            set {
                if ((object.ReferenceEquals(this.PasswordField, value) != true)) {
                    this.PasswordField = value;
                    this.RaisePropertyChanged("Password");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(Order=16)]
        internal string HomePhone {
            get {
                return this.HomePhoneField;
            }
            set {
                if ((object.ReferenceEquals(this.HomePhoneField, value) != true)) {
                    this.HomePhoneField = value;
                    this.RaisePropertyChanged("HomePhone");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(Order=17)]
        internal string Department {
            get {
                return this.DepartmentField;
            }
            set {
                if ((object.ReferenceEquals(this.DepartmentField, value) != true)) {
                    this.DepartmentField = value;
                    this.RaisePropertyChanged("Department");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(Order=18)]
        internal string JobTitle {
            get {
                return this.JobTitleField;
            }
            set {
                if ((object.ReferenceEquals(this.JobTitleField, value) != true)) {
                    this.JobTitleField = value;
                    this.RaisePropertyChanged("JobTitle");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(Order=19)]
        internal string IMAddress {
            get {
                return this.IMAddressField;
            }
            set {
                if ((object.ReferenceEquals(this.IMAddressField, value) != true)) {
                    this.IMAddressField = value;
                    this.RaisePropertyChanged("IMAddress");
                }
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="FreeTextTag", Namespace="http://www.ws.tag.microsoft.com/ver1")]
    [System.SerializableAttribute()]
    internal partial class FreeTextTag : LiveStream.MicrosoftTagService.Tag {
        
        private string FreeTextField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string PasswordField;
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        internal string FreeText {
            get {
                return this.FreeTextField;
            }
            set {
                if ((object.ReferenceEquals(this.FreeTextField, value) != true)) {
                    this.FreeTextField = value;
                    this.RaisePropertyChanged("FreeText");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        internal string Password {
            get {
                return this.PasswordField;
            }
            set {
                if ((object.ReferenceEquals(this.PasswordField, value) != true)) {
                    this.PasswordField = value;
                    this.RaisePropertyChanged("Password");
                }
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="URITag", Namespace="http://www.ws.tag.microsoft.com/ver1")]
    [System.SerializableAttribute()]
    internal partial class URITag : LiveStream.MicrosoftTagService.Tag {
        
        private string MedFiUrlField;
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        internal string MedFiUrl {
            get {
                return this.MedFiUrlField;
            }
            set {
                if ((object.ReferenceEquals(this.MedFiUrlField, value) != true)) {
                    this.MedFiUrlField = value;
                    this.RaisePropertyChanged("MedFiUrl");
                }
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="DialerTag", Namespace="http://www.ws.tag.microsoft.com/ver1")]
    [System.SerializableAttribute()]
    internal partial class DialerTag : LiveStream.MicrosoftTagService.Tag {
        
        private string PhoneNumberField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string PasswordField;
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        internal string PhoneNumber {
            get {
                return this.PhoneNumberField;
            }
            set {
                if ((object.ReferenceEquals(this.PhoneNumberField, value) != true)) {
                    this.PhoneNumberField = value;
                    this.RaisePropertyChanged("PhoneNumber");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(Order=1)]
        internal string Password {
            get {
                return this.PasswordField;
            }
            set {
                if ((object.ReferenceEquals(this.PasswordField, value) != true)) {
                    this.PasswordField = value;
                    this.RaisePropertyChanged("Password");
                }
            }
        }
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="TagStatus", Namespace="http://www.ws.tag.microsoft.com/ver1")]
    internal enum TagStatus : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Active = 0,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Paused = 1,
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.FlagsAttribute()]
    [System.Runtime.Serialization.DataContractAttribute(Name="ImageTypes", Namespace="http://www.ws.tag.microsoft.com/ver1")]
    internal enum ImageTypes : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        pdf = 1,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        wmf = 2,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        jpeg = 3,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        png = 4,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        gif = 5,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        tiff = 6,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        tag = 7,
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="TagFault", Namespace="http://www.ws.tag.microsoft.com/ver1")]
    [System.SerializableAttribute()]
    internal partial class TagFault : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        private string ErrorMessageField;
        
        private LiveStream.MicrosoftTagService.TagFaultReason ReasonField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        internal string ErrorMessage {
            get {
                return this.ErrorMessageField;
            }
            set {
                if ((object.ReferenceEquals(this.ErrorMessageField, value) != true)) {
                    this.ErrorMessageField = value;
                    this.RaisePropertyChanged("ErrorMessage");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        internal LiveStream.MicrosoftTagService.TagFaultReason Reason {
            get {
                return this.ReasonField;
            }
            set {
                if ((this.ReasonField.Equals(value) != true)) {
                    this.ReasonField = value;
                    this.RaisePropertyChanged("Reason");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="TagFaultReason", Namespace="http://www.ws.tag.microsoft.com/ver1")]
    internal enum TagFaultReason : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Unspecified = 0,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        DuplicateName = 1,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        NotFound = 2,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        InvalidStatus = 3,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Paused = 4,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Blocked = 5,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Frozen = 6,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        FourRowBarcodeLimitExceed = 7,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        InvalidTagType = 8,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        DatesConflict = 9,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        PropertyUpdateNotAllowed = 10,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        RangeSearchNotSupported = 11,
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="DecorationType", Namespace="http://www.ws.tag.microsoft.com/ver1")]
    internal enum DecorationType : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        HCCBRP_DECORATION_NONE = 0,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        HCCBRP_DECORATION_DOWNLOAD = 3,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        HCCBENCODEFLAG_STYLIZED = 19,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        HCCBRP_DECORATION_FRAMEPLAIN = 8,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        HCCBRP_DECORATION_TEXT = 32,
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="BarCodeFault", Namespace="http://www.ws.tag.microsoft.com/ver1")]
    [System.SerializableAttribute()]
    internal partial class BarCodeFault : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        private string ErrorMessageField;
        
        private LiveStream.MicrosoftTagService.BarCodeFaultReason ReasonField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        internal string ErrorMessage {
            get {
                return this.ErrorMessageField;
            }
            set {
                if ((object.ReferenceEquals(this.ErrorMessageField, value) != true)) {
                    this.ErrorMessageField = value;
                    this.RaisePropertyChanged("ErrorMessage");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        internal LiveStream.MicrosoftTagService.BarCodeFaultReason Reason {
            get {
                return this.ReasonField;
            }
            set {
                if ((this.ReasonField.Equals(value) != true)) {
                    this.ReasonField = value;
                    this.RaisePropertyChanged("Reason");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="BarCodeFaultReason", Namespace="http://www.ws.tag.microsoft.com/ver1")]
    internal enum BarCodeFaultReason : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Unspecified = 0,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        InsufficientFeaturePermission = 1,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        ImageGenerationFail = 2,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Overflow = 3,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        IncorrectFormat = 4,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        BlackAndWhiteFourRowBarcodeNotAllowed = 5,
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(Namespace="http://www.ws.tag.microsoft.com/ver1", ConfigurationName="MicrosoftTagService.IMIBPContract")]
    internal interface IMIBPContract {
        
        [System.ServiceModel.OperationContractAttribute(Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/CreateCategory", ReplyAction="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/CreateCategoryResponse")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.SenderFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/CreateCategorySenderFaultFault" +
            "", Name="SenderFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.ReceiverFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/CreateCategoryReceiverFaultFau" +
            "lt", Name="ReceiverFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.CategoryFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/CreateCategoryCategoryFaultFau" +
            "lt", Name="CategoryFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.UserAuthFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/CreateCategoryUserAuthFaultFau" +
            "lt", Name="UserAuthFault")]
        bool CreateCategory(LiveStream.MicrosoftTagService.UserCredential userCredential, LiveStream.MicrosoftTagService.Category category);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/CreateCategory", ReplyAction="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/CreateCategoryResponse")]
        System.IAsyncResult BeginCreateCategory(LiveStream.MicrosoftTagService.UserCredential userCredential, LiveStream.MicrosoftTagService.Category category, System.AsyncCallback callback, object asyncState);
        
        bool EndCreateCategory(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/UpdateCategory", ReplyAction="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/UpdateCategoryResponse")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.ReceiverFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/UpdateCategoryReceiverFaultFau" +
            "lt", Name="ReceiverFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.SenderFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/UpdateCategorySenderFaultFault" +
            "", Name="SenderFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.CategoryFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/UpdateCategoryCategoryFaultFau" +
            "lt", Name="CategoryFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.UserAuthFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/UpdateCategoryUserAuthFaultFau" +
            "lt", Name="UserAuthFault")]
        bool UpdateCategory(LiveStream.MicrosoftTagService.UserCredential userCredential, string existingCategoryName, LiveStream.MicrosoftTagService.Category category);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/UpdateCategory", ReplyAction="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/UpdateCategoryResponse")]
        System.IAsyncResult BeginUpdateCategory(LiveStream.MicrosoftTagService.UserCredential userCredential, string existingCategoryName, LiveStream.MicrosoftTagService.Category category, System.AsyncCallback callback, object asyncState);
        
        bool EndUpdateCategory(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/ActivateCategory", ReplyAction="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/ActivateCategoryResponse")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.ReceiverFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/ActivateCategoryReceiverFaultF" +
            "ault", Name="ReceiverFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.CategoryFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/ActivateCategoryCategoryFaultF" +
            "ault", Name="CategoryFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.UserAuthFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/ActivateCategoryUserAuthFaultF" +
            "ault", Name="UserAuthFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.SenderFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/ActivateCategorySenderFaultFau" +
            "lt", Name="SenderFault")]
        bool ActivateCategory(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/ActivateCategory", ReplyAction="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/ActivateCategoryResponse")]
        System.IAsyncResult BeginActivateCategory(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, System.AsyncCallback callback, object asyncState);
        
        bool EndActivateCategory(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/PauseCategory", ReplyAction="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/PauseCategoryResponse")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.UserAuthFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/PauseCategoryUserAuthFaultFaul" +
            "t", Name="UserAuthFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.SenderFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/PauseCategorySenderFaultFault", Name="SenderFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.ReceiverFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/PauseCategoryReceiverFaultFaul" +
            "t", Name="ReceiverFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.CategoryFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/PauseCategoryCategoryFaultFaul" +
            "t", Name="CategoryFault")]
        bool PauseCategory(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/PauseCategory", ReplyAction="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/PauseCategoryResponse")]
        System.IAsyncResult BeginPauseCategory(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, System.AsyncCallback callback, object asyncState);
        
        bool EndPauseCategory(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/CreateTag", ReplyAction="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/CreateTagResponse")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.UserAuthFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/CreateTagUserAuthFaultFault", Name="UserAuthFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.SenderFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/CreateTagSenderFaultFault", Name="SenderFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.TagFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/CreateTagTagFaultFault", Name="TagFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.ReceiverFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/CreateTagReceiverFaultFault", Name="ReceiverFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.CategoryFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/CreateTagCategoryFaultFault", Name="CategoryFault")]
        bool CreateTag(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, LiveStream.MicrosoftTagService.Tag tag);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/CreateTag", ReplyAction="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/CreateTagResponse")]
        System.IAsyncResult BeginCreateTag(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, LiveStream.MicrosoftTagService.Tag tag, System.AsyncCallback callback, object asyncState);
        
        bool EndCreateTag(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/ActivateTag", ReplyAction="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/ActivateTagResponse")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.TagFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/ActivateTagTagFaultFault", Name="TagFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.SenderFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/ActivateTagSenderFaultFault", Name="SenderFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.CategoryFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/ActivateTagCategoryFaultFault", Name="CategoryFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.UserAuthFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/ActivateTagUserAuthFaultFault", Name="UserAuthFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.ReceiverFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/ActivateTagReceiverFaultFault", Name="ReceiverFault")]
        bool ActivateTag(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, string tagName);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/ActivateTag", ReplyAction="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/ActivateTagResponse")]
        System.IAsyncResult BeginActivateTag(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, string tagName, System.AsyncCallback callback, object asyncState);
        
        bool EndActivateTag(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/PauseTag", ReplyAction="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/PauseTagResponse")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.UserAuthFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/PauseTagUserAuthFaultFault", Name="UserAuthFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.ReceiverFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/PauseTagReceiverFaultFault", Name="ReceiverFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.CategoryFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/PauseTagCategoryFaultFault", Name="CategoryFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.TagFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/PauseTagTagFaultFault", Name="TagFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.SenderFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/PauseTagSenderFaultFault", Name="SenderFault")]
        bool PauseTag(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, string tagName);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/PauseTag", ReplyAction="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/PauseTagResponse")]
        System.IAsyncResult BeginPauseTag(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, string tagName, System.AsyncCallback callback, object asyncState);
        
        bool EndPauseTag(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/UpdateTag", ReplyAction="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/UpdateTagResponse")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.TagFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/UpdateTagTagFaultFault", Name="TagFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.UserAuthFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/UpdateTagUserAuthFaultFault", Name="UserAuthFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.SenderFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/UpdateTagSenderFaultFault", Name="SenderFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.ReceiverFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/UpdateTagReceiverFaultFault", Name="ReceiverFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.CategoryFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/UpdateTagCategoryFaultFault", Name="CategoryFault")]
        bool UpdateTag(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, string existingTagName, LiveStream.MicrosoftTagService.Tag tag);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/UpdateTag", ReplyAction="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/UpdateTagResponse")]
        System.IAsyncResult BeginUpdateTag(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, string existingTagName, LiveStream.MicrosoftTagService.Tag tag, System.AsyncCallback callback, object asyncState);
        
        bool EndUpdateTag(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/GetBarcode", ReplyAction="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/GetBarcodeResponse")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.TagFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/GetBarcodeTagFaultFault", Name="TagFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.UserAuthFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/GetBarcodeUserAuthFaultFault", Name="UserAuthFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.SenderFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/GetBarcodeSenderFaultFault", Name="SenderFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.BarCodeFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/GetBarcodeBarCodeFaultFault", Name="BarCodeFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.ReceiverFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/GetBarcodeReceiverFaultFault", Name="ReceiverFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.CategoryFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/GetBarcodeCategoryFaultFault", Name="CategoryFault")]
        byte[] GetBarcode(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, string tagName, LiveStream.MicrosoftTagService.ImageTypes imageType, float sizeInInches, LiveStream.MicrosoftTagService.DecorationType decorationsType, bool isBlackWhite);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/GetBarcode", ReplyAction="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/GetBarcodeResponse")]
        System.IAsyncResult BeginGetBarcode(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, string tagName, LiveStream.MicrosoftTagService.ImageTypes imageType, float sizeInInches, LiveStream.MicrosoftTagService.DecorationType decorationsType, bool isBlackWhite, System.AsyncCallback callback, object asyncState);
        
        byte[] EndGetBarcode(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/GetTagId", ReplyAction="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/GetTagIdResponse")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.UserAuthFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/GetTagIdUserAuthFaultFault", Name="UserAuthFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.ReceiverFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/GetTagIdReceiverFaultFault", Name="ReceiverFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.SenderFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/GetTagIdSenderFaultFault", Name="SenderFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.CategoryFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/GetTagIdCategoryFaultFault", Name="CategoryFault")]
        [System.ServiceModel.FaultContractAttribute(typeof(LiveStream.MicrosoftTagService.TagFault), Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/GetTagIdTagFaultFault", Name="TagFault")]
        string GetTagId(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, string tagName);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/GetTagId", ReplyAction="http://www.ws.tag.microsoft.com/ver1/IMIBPContract/GetTagIdResponse")]
        System.IAsyncResult BeginGetTagId(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, string tagName, System.AsyncCallback callback, object asyncState);
        
        string EndGetTagId(System.IAsyncResult result);
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    internal interface IMIBPContractChannel : LiveStream.MicrosoftTagService.IMIBPContract, System.ServiceModel.IClientChannel {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    internal partial class CreateCategoryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public CreateCategoryCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    internal partial class UpdateCategoryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public UpdateCategoryCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    internal partial class ActivateCategoryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public ActivateCategoryCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    internal partial class PauseCategoryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public PauseCategoryCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    internal partial class CreateTagCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public CreateTagCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    internal partial class ActivateTagCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public ActivateTagCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    internal partial class PauseTagCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public PauseTagCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    internal partial class UpdateTagCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public UpdateTagCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    internal partial class GetBarcodeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetBarcodeCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public byte[] Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((byte[])(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    internal partial class GetTagIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetTagIdCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    internal partial class MIBPContractClient : System.ServiceModel.ClientBase<LiveStream.MicrosoftTagService.IMIBPContract>, LiveStream.MicrosoftTagService.IMIBPContract {
        
        private BeginOperationDelegate onBeginCreateCategoryDelegate;
        
        private EndOperationDelegate onEndCreateCategoryDelegate;
        
        private System.Threading.SendOrPostCallback onCreateCategoryCompletedDelegate;
        
        private BeginOperationDelegate onBeginUpdateCategoryDelegate;
        
        private EndOperationDelegate onEndUpdateCategoryDelegate;
        
        private System.Threading.SendOrPostCallback onUpdateCategoryCompletedDelegate;
        
        private BeginOperationDelegate onBeginActivateCategoryDelegate;
        
        private EndOperationDelegate onEndActivateCategoryDelegate;
        
        private System.Threading.SendOrPostCallback onActivateCategoryCompletedDelegate;
        
        private BeginOperationDelegate onBeginPauseCategoryDelegate;
        
        private EndOperationDelegate onEndPauseCategoryDelegate;
        
        private System.Threading.SendOrPostCallback onPauseCategoryCompletedDelegate;
        
        private BeginOperationDelegate onBeginCreateTagDelegate;
        
        private EndOperationDelegate onEndCreateTagDelegate;
        
        private System.Threading.SendOrPostCallback onCreateTagCompletedDelegate;
        
        private BeginOperationDelegate onBeginActivateTagDelegate;
        
        private EndOperationDelegate onEndActivateTagDelegate;
        
        private System.Threading.SendOrPostCallback onActivateTagCompletedDelegate;
        
        private BeginOperationDelegate onBeginPauseTagDelegate;
        
        private EndOperationDelegate onEndPauseTagDelegate;
        
        private System.Threading.SendOrPostCallback onPauseTagCompletedDelegate;
        
        private BeginOperationDelegate onBeginUpdateTagDelegate;
        
        private EndOperationDelegate onEndUpdateTagDelegate;
        
        private System.Threading.SendOrPostCallback onUpdateTagCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetBarcodeDelegate;
        
        private EndOperationDelegate onEndGetBarcodeDelegate;
        
        private System.Threading.SendOrPostCallback onGetBarcodeCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetTagIdDelegate;
        
        private EndOperationDelegate onEndGetTagIdDelegate;
        
        private System.Threading.SendOrPostCallback onGetTagIdCompletedDelegate;
        
        public MIBPContractClient() {
        }
        
        public MIBPContractClient(string endpointConfigurationName) : 
                base(endpointConfigurationName) {
        }
        
        public MIBPContractClient(string endpointConfigurationName, string remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public MIBPContractClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public MIBPContractClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(binding, remoteAddress) {
        }
        
        public event System.EventHandler<CreateCategoryCompletedEventArgs> CreateCategoryCompleted;
        
        public event System.EventHandler<UpdateCategoryCompletedEventArgs> UpdateCategoryCompleted;
        
        public event System.EventHandler<ActivateCategoryCompletedEventArgs> ActivateCategoryCompleted;
        
        public event System.EventHandler<PauseCategoryCompletedEventArgs> PauseCategoryCompleted;
        
        public event System.EventHandler<CreateTagCompletedEventArgs> CreateTagCompleted;
        
        public event System.EventHandler<ActivateTagCompletedEventArgs> ActivateTagCompleted;
        
        public event System.EventHandler<PauseTagCompletedEventArgs> PauseTagCompleted;
        
        public event System.EventHandler<UpdateTagCompletedEventArgs> UpdateTagCompleted;
        
        public event System.EventHandler<GetBarcodeCompletedEventArgs> GetBarcodeCompleted;
        
        public event System.EventHandler<GetTagIdCompletedEventArgs> GetTagIdCompleted;
        
        public bool CreateCategory(LiveStream.MicrosoftTagService.UserCredential userCredential, LiveStream.MicrosoftTagService.Category category) {
            return base.Channel.CreateCategory(userCredential, category);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginCreateCategory(LiveStream.MicrosoftTagService.UserCredential userCredential, LiveStream.MicrosoftTagService.Category category, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginCreateCategory(userCredential, category, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndCreateCategory(System.IAsyncResult result) {
            return base.Channel.EndCreateCategory(result);
        }
        
        private System.IAsyncResult OnBeginCreateCategory(object[] inValues, System.AsyncCallback callback, object asyncState) {
            LiveStream.MicrosoftTagService.UserCredential userCredential = ((LiveStream.MicrosoftTagService.UserCredential)(inValues[0]));
            LiveStream.MicrosoftTagService.Category category = ((LiveStream.MicrosoftTagService.Category)(inValues[1]));
            return this.BeginCreateCategory(userCredential, category, callback, asyncState);
        }
        
        private object[] OnEndCreateCategory(System.IAsyncResult result) {
            bool retVal = this.EndCreateCategory(result);
            return new object[] {
                    retVal};
        }
        
        private void OnCreateCategoryCompleted(object state) {
            if ((this.CreateCategoryCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.CreateCategoryCompleted(this, new CreateCategoryCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void CreateCategoryAsync(LiveStream.MicrosoftTagService.UserCredential userCredential, LiveStream.MicrosoftTagService.Category category) {
            this.CreateCategoryAsync(userCredential, category, null);
        }
        
        public void CreateCategoryAsync(LiveStream.MicrosoftTagService.UserCredential userCredential, LiveStream.MicrosoftTagService.Category category, object userState) {
            if ((this.onBeginCreateCategoryDelegate == null)) {
                this.onBeginCreateCategoryDelegate = new BeginOperationDelegate(this.OnBeginCreateCategory);
            }
            if ((this.onEndCreateCategoryDelegate == null)) {
                this.onEndCreateCategoryDelegate = new EndOperationDelegate(this.OnEndCreateCategory);
            }
            if ((this.onCreateCategoryCompletedDelegate == null)) {
                this.onCreateCategoryCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnCreateCategoryCompleted);
            }
            base.InvokeAsync(this.onBeginCreateCategoryDelegate, new object[] {
                        userCredential,
                        category}, this.onEndCreateCategoryDelegate, this.onCreateCategoryCompletedDelegate, userState);
        }
        
        public bool UpdateCategory(LiveStream.MicrosoftTagService.UserCredential userCredential, string existingCategoryName, LiveStream.MicrosoftTagService.Category category) {
            return base.Channel.UpdateCategory(userCredential, existingCategoryName, category);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginUpdateCategory(LiveStream.MicrosoftTagService.UserCredential userCredential, string existingCategoryName, LiveStream.MicrosoftTagService.Category category, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginUpdateCategory(userCredential, existingCategoryName, category, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndUpdateCategory(System.IAsyncResult result) {
            return base.Channel.EndUpdateCategory(result);
        }
        
        private System.IAsyncResult OnBeginUpdateCategory(object[] inValues, System.AsyncCallback callback, object asyncState) {
            LiveStream.MicrosoftTagService.UserCredential userCredential = ((LiveStream.MicrosoftTagService.UserCredential)(inValues[0]));
            string existingCategoryName = ((string)(inValues[1]));
            LiveStream.MicrosoftTagService.Category category = ((LiveStream.MicrosoftTagService.Category)(inValues[2]));
            return this.BeginUpdateCategory(userCredential, existingCategoryName, category, callback, asyncState);
        }
        
        private object[] OnEndUpdateCategory(System.IAsyncResult result) {
            bool retVal = this.EndUpdateCategory(result);
            return new object[] {
                    retVal};
        }
        
        private void OnUpdateCategoryCompleted(object state) {
            if ((this.UpdateCategoryCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.UpdateCategoryCompleted(this, new UpdateCategoryCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void UpdateCategoryAsync(LiveStream.MicrosoftTagService.UserCredential userCredential, string existingCategoryName, LiveStream.MicrosoftTagService.Category category) {
            this.UpdateCategoryAsync(userCredential, existingCategoryName, category, null);
        }
        
        public void UpdateCategoryAsync(LiveStream.MicrosoftTagService.UserCredential userCredential, string existingCategoryName, LiveStream.MicrosoftTagService.Category category, object userState) {
            if ((this.onBeginUpdateCategoryDelegate == null)) {
                this.onBeginUpdateCategoryDelegate = new BeginOperationDelegate(this.OnBeginUpdateCategory);
            }
            if ((this.onEndUpdateCategoryDelegate == null)) {
                this.onEndUpdateCategoryDelegate = new EndOperationDelegate(this.OnEndUpdateCategory);
            }
            if ((this.onUpdateCategoryCompletedDelegate == null)) {
                this.onUpdateCategoryCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnUpdateCategoryCompleted);
            }
            base.InvokeAsync(this.onBeginUpdateCategoryDelegate, new object[] {
                        userCredential,
                        existingCategoryName,
                        category}, this.onEndUpdateCategoryDelegate, this.onUpdateCategoryCompletedDelegate, userState);
        }
        
        public bool ActivateCategory(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName) {
            return base.Channel.ActivateCategory(userCredential, categoryName);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginActivateCategory(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginActivateCategory(userCredential, categoryName, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndActivateCategory(System.IAsyncResult result) {
            return base.Channel.EndActivateCategory(result);
        }
        
        private System.IAsyncResult OnBeginActivateCategory(object[] inValues, System.AsyncCallback callback, object asyncState) {
            LiveStream.MicrosoftTagService.UserCredential userCredential = ((LiveStream.MicrosoftTagService.UserCredential)(inValues[0]));
            string categoryName = ((string)(inValues[1]));
            return this.BeginActivateCategory(userCredential, categoryName, callback, asyncState);
        }
        
        private object[] OnEndActivateCategory(System.IAsyncResult result) {
            bool retVal = this.EndActivateCategory(result);
            return new object[] {
                    retVal};
        }
        
        private void OnActivateCategoryCompleted(object state) {
            if ((this.ActivateCategoryCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.ActivateCategoryCompleted(this, new ActivateCategoryCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void ActivateCategoryAsync(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName) {
            this.ActivateCategoryAsync(userCredential, categoryName, null);
        }
        
        public void ActivateCategoryAsync(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, object userState) {
            if ((this.onBeginActivateCategoryDelegate == null)) {
                this.onBeginActivateCategoryDelegate = new BeginOperationDelegate(this.OnBeginActivateCategory);
            }
            if ((this.onEndActivateCategoryDelegate == null)) {
                this.onEndActivateCategoryDelegate = new EndOperationDelegate(this.OnEndActivateCategory);
            }
            if ((this.onActivateCategoryCompletedDelegate == null)) {
                this.onActivateCategoryCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnActivateCategoryCompleted);
            }
            base.InvokeAsync(this.onBeginActivateCategoryDelegate, new object[] {
                        userCredential,
                        categoryName}, this.onEndActivateCategoryDelegate, this.onActivateCategoryCompletedDelegate, userState);
        }
        
        public bool PauseCategory(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName) {
            return base.Channel.PauseCategory(userCredential, categoryName);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginPauseCategory(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginPauseCategory(userCredential, categoryName, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndPauseCategory(System.IAsyncResult result) {
            return base.Channel.EndPauseCategory(result);
        }
        
        private System.IAsyncResult OnBeginPauseCategory(object[] inValues, System.AsyncCallback callback, object asyncState) {
            LiveStream.MicrosoftTagService.UserCredential userCredential = ((LiveStream.MicrosoftTagService.UserCredential)(inValues[0]));
            string categoryName = ((string)(inValues[1]));
            return this.BeginPauseCategory(userCredential, categoryName, callback, asyncState);
        }
        
        private object[] OnEndPauseCategory(System.IAsyncResult result) {
            bool retVal = this.EndPauseCategory(result);
            return new object[] {
                    retVal};
        }
        
        private void OnPauseCategoryCompleted(object state) {
            if ((this.PauseCategoryCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.PauseCategoryCompleted(this, new PauseCategoryCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void PauseCategoryAsync(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName) {
            this.PauseCategoryAsync(userCredential, categoryName, null);
        }
        
        public void PauseCategoryAsync(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, object userState) {
            if ((this.onBeginPauseCategoryDelegate == null)) {
                this.onBeginPauseCategoryDelegate = new BeginOperationDelegate(this.OnBeginPauseCategory);
            }
            if ((this.onEndPauseCategoryDelegate == null)) {
                this.onEndPauseCategoryDelegate = new EndOperationDelegate(this.OnEndPauseCategory);
            }
            if ((this.onPauseCategoryCompletedDelegate == null)) {
                this.onPauseCategoryCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnPauseCategoryCompleted);
            }
            base.InvokeAsync(this.onBeginPauseCategoryDelegate, new object[] {
                        userCredential,
                        categoryName}, this.onEndPauseCategoryDelegate, this.onPauseCategoryCompletedDelegate, userState);
        }
        
        public bool CreateTag(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, LiveStream.MicrosoftTagService.Tag tag) {
            return base.Channel.CreateTag(userCredential, categoryName, tag);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginCreateTag(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, LiveStream.MicrosoftTagService.Tag tag, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginCreateTag(userCredential, categoryName, tag, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndCreateTag(System.IAsyncResult result) {
            return base.Channel.EndCreateTag(result);
        }
        
        private System.IAsyncResult OnBeginCreateTag(object[] inValues, System.AsyncCallback callback, object asyncState) {
            LiveStream.MicrosoftTagService.UserCredential userCredential = ((LiveStream.MicrosoftTagService.UserCredential)(inValues[0]));
            string categoryName = ((string)(inValues[1]));
            LiveStream.MicrosoftTagService.Tag tag = ((LiveStream.MicrosoftTagService.Tag)(inValues[2]));
            return this.BeginCreateTag(userCredential, categoryName, tag, callback, asyncState);
        }
        
        private object[] OnEndCreateTag(System.IAsyncResult result) {
            bool retVal = this.EndCreateTag(result);
            return new object[] {
                    retVal};
        }
        
        private void OnCreateTagCompleted(object state) {
            if ((this.CreateTagCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.CreateTagCompleted(this, new CreateTagCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void CreateTagAsync(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, LiveStream.MicrosoftTagService.Tag tag) {
            this.CreateTagAsync(userCredential, categoryName, tag, null);
        }
        
        public void CreateTagAsync(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, LiveStream.MicrosoftTagService.Tag tag, object userState) {
            if ((this.onBeginCreateTagDelegate == null)) {
                this.onBeginCreateTagDelegate = new BeginOperationDelegate(this.OnBeginCreateTag);
            }
            if ((this.onEndCreateTagDelegate == null)) {
                this.onEndCreateTagDelegate = new EndOperationDelegate(this.OnEndCreateTag);
            }
            if ((this.onCreateTagCompletedDelegate == null)) {
                this.onCreateTagCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnCreateTagCompleted);
            }
            base.InvokeAsync(this.onBeginCreateTagDelegate, new object[] {
                        userCredential,
                        categoryName,
                        tag}, this.onEndCreateTagDelegate, this.onCreateTagCompletedDelegate, userState);
        }
        
        public bool ActivateTag(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, string tagName) {
            return base.Channel.ActivateTag(userCredential, categoryName, tagName);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginActivateTag(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, string tagName, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginActivateTag(userCredential, categoryName, tagName, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndActivateTag(System.IAsyncResult result) {
            return base.Channel.EndActivateTag(result);
        }
        
        private System.IAsyncResult OnBeginActivateTag(object[] inValues, System.AsyncCallback callback, object asyncState) {
            LiveStream.MicrosoftTagService.UserCredential userCredential = ((LiveStream.MicrosoftTagService.UserCredential)(inValues[0]));
            string categoryName = ((string)(inValues[1]));
            string tagName = ((string)(inValues[2]));
            return this.BeginActivateTag(userCredential, categoryName, tagName, callback, asyncState);
        }
        
        private object[] OnEndActivateTag(System.IAsyncResult result) {
            bool retVal = this.EndActivateTag(result);
            return new object[] {
                    retVal};
        }
        
        private void OnActivateTagCompleted(object state) {
            if ((this.ActivateTagCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.ActivateTagCompleted(this, new ActivateTagCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void ActivateTagAsync(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, string tagName) {
            this.ActivateTagAsync(userCredential, categoryName, tagName, null);
        }
        
        public void ActivateTagAsync(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, string tagName, object userState) {
            if ((this.onBeginActivateTagDelegate == null)) {
                this.onBeginActivateTagDelegate = new BeginOperationDelegate(this.OnBeginActivateTag);
            }
            if ((this.onEndActivateTagDelegate == null)) {
                this.onEndActivateTagDelegate = new EndOperationDelegate(this.OnEndActivateTag);
            }
            if ((this.onActivateTagCompletedDelegate == null)) {
                this.onActivateTagCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnActivateTagCompleted);
            }
            base.InvokeAsync(this.onBeginActivateTagDelegate, new object[] {
                        userCredential,
                        categoryName,
                        tagName}, this.onEndActivateTagDelegate, this.onActivateTagCompletedDelegate, userState);
        }
        
        public bool PauseTag(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, string tagName) {
            return base.Channel.PauseTag(userCredential, categoryName, tagName);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginPauseTag(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, string tagName, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginPauseTag(userCredential, categoryName, tagName, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndPauseTag(System.IAsyncResult result) {
            return base.Channel.EndPauseTag(result);
        }
        
        private System.IAsyncResult OnBeginPauseTag(object[] inValues, System.AsyncCallback callback, object asyncState) {
            LiveStream.MicrosoftTagService.UserCredential userCredential = ((LiveStream.MicrosoftTagService.UserCredential)(inValues[0]));
            string categoryName = ((string)(inValues[1]));
            string tagName = ((string)(inValues[2]));
            return this.BeginPauseTag(userCredential, categoryName, tagName, callback, asyncState);
        }
        
        private object[] OnEndPauseTag(System.IAsyncResult result) {
            bool retVal = this.EndPauseTag(result);
            return new object[] {
                    retVal};
        }
        
        private void OnPauseTagCompleted(object state) {
            if ((this.PauseTagCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.PauseTagCompleted(this, new PauseTagCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void PauseTagAsync(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, string tagName) {
            this.PauseTagAsync(userCredential, categoryName, tagName, null);
        }
        
        public void PauseTagAsync(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, string tagName, object userState) {
            if ((this.onBeginPauseTagDelegate == null)) {
                this.onBeginPauseTagDelegate = new BeginOperationDelegate(this.OnBeginPauseTag);
            }
            if ((this.onEndPauseTagDelegate == null)) {
                this.onEndPauseTagDelegate = new EndOperationDelegate(this.OnEndPauseTag);
            }
            if ((this.onPauseTagCompletedDelegate == null)) {
                this.onPauseTagCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnPauseTagCompleted);
            }
            base.InvokeAsync(this.onBeginPauseTagDelegate, new object[] {
                        userCredential,
                        categoryName,
                        tagName}, this.onEndPauseTagDelegate, this.onPauseTagCompletedDelegate, userState);
        }
        
        public bool UpdateTag(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, string existingTagName, LiveStream.MicrosoftTagService.Tag tag) {
            return base.Channel.UpdateTag(userCredential, categoryName, existingTagName, tag);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginUpdateTag(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, string existingTagName, LiveStream.MicrosoftTagService.Tag tag, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginUpdateTag(userCredential, categoryName, existingTagName, tag, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndUpdateTag(System.IAsyncResult result) {
            return base.Channel.EndUpdateTag(result);
        }
        
        private System.IAsyncResult OnBeginUpdateTag(object[] inValues, System.AsyncCallback callback, object asyncState) {
            LiveStream.MicrosoftTagService.UserCredential userCredential = ((LiveStream.MicrosoftTagService.UserCredential)(inValues[0]));
            string categoryName = ((string)(inValues[1]));
            string existingTagName = ((string)(inValues[2]));
            LiveStream.MicrosoftTagService.Tag tag = ((LiveStream.MicrosoftTagService.Tag)(inValues[3]));
            return this.BeginUpdateTag(userCredential, categoryName, existingTagName, tag, callback, asyncState);
        }
        
        private object[] OnEndUpdateTag(System.IAsyncResult result) {
            bool retVal = this.EndUpdateTag(result);
            return new object[] {
                    retVal};
        }
        
        private void OnUpdateTagCompleted(object state) {
            if ((this.UpdateTagCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.UpdateTagCompleted(this, new UpdateTagCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void UpdateTagAsync(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, string existingTagName, LiveStream.MicrosoftTagService.Tag tag) {
            this.UpdateTagAsync(userCredential, categoryName, existingTagName, tag, null);
        }
        
        public void UpdateTagAsync(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, string existingTagName, LiveStream.MicrosoftTagService.Tag tag, object userState) {
            if ((this.onBeginUpdateTagDelegate == null)) {
                this.onBeginUpdateTagDelegate = new BeginOperationDelegate(this.OnBeginUpdateTag);
            }
            if ((this.onEndUpdateTagDelegate == null)) {
                this.onEndUpdateTagDelegate = new EndOperationDelegate(this.OnEndUpdateTag);
            }
            if ((this.onUpdateTagCompletedDelegate == null)) {
                this.onUpdateTagCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnUpdateTagCompleted);
            }
            base.InvokeAsync(this.onBeginUpdateTagDelegate, new object[] {
                        userCredential,
                        categoryName,
                        existingTagName,
                        tag}, this.onEndUpdateTagDelegate, this.onUpdateTagCompletedDelegate, userState);
        }
        
        public byte[] GetBarcode(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, string tagName, LiveStream.MicrosoftTagService.ImageTypes imageType, float sizeInInches, LiveStream.MicrosoftTagService.DecorationType decorationsType, bool isBlackWhite) {
            return base.Channel.GetBarcode(userCredential, categoryName, tagName, imageType, sizeInInches, decorationsType, isBlackWhite);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginGetBarcode(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, string tagName, LiveStream.MicrosoftTagService.ImageTypes imageType, float sizeInInches, LiveStream.MicrosoftTagService.DecorationType decorationsType, bool isBlackWhite, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetBarcode(userCredential, categoryName, tagName, imageType, sizeInInches, decorationsType, isBlackWhite, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public byte[] EndGetBarcode(System.IAsyncResult result) {
            return base.Channel.EndGetBarcode(result);
        }
        
        private System.IAsyncResult OnBeginGetBarcode(object[] inValues, System.AsyncCallback callback, object asyncState) {
            LiveStream.MicrosoftTagService.UserCredential userCredential = ((LiveStream.MicrosoftTagService.UserCredential)(inValues[0]));
            string categoryName = ((string)(inValues[1]));
            string tagName = ((string)(inValues[2]));
            LiveStream.MicrosoftTagService.ImageTypes imageType = ((LiveStream.MicrosoftTagService.ImageTypes)(inValues[3]));
            float sizeInInches = ((float)(inValues[4]));
            LiveStream.MicrosoftTagService.DecorationType decorationsType = ((LiveStream.MicrosoftTagService.DecorationType)(inValues[5]));
            bool isBlackWhite = ((bool)(inValues[6]));
            return this.BeginGetBarcode(userCredential, categoryName, tagName, imageType, sizeInInches, decorationsType, isBlackWhite, callback, asyncState);
        }
        
        private object[] OnEndGetBarcode(System.IAsyncResult result) {
            byte[] retVal = this.EndGetBarcode(result);
            return new object[] {
                    retVal};
        }
        
        private void OnGetBarcodeCompleted(object state) {
            if ((this.GetBarcodeCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetBarcodeCompleted(this, new GetBarcodeCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetBarcodeAsync(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, string tagName, LiveStream.MicrosoftTagService.ImageTypes imageType, float sizeInInches, LiveStream.MicrosoftTagService.DecorationType decorationsType, bool isBlackWhite) {
            this.GetBarcodeAsync(userCredential, categoryName, tagName, imageType, sizeInInches, decorationsType, isBlackWhite, null);
        }
        
        public void GetBarcodeAsync(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, string tagName, LiveStream.MicrosoftTagService.ImageTypes imageType, float sizeInInches, LiveStream.MicrosoftTagService.DecorationType decorationsType, bool isBlackWhite, object userState) {
            if ((this.onBeginGetBarcodeDelegate == null)) {
                this.onBeginGetBarcodeDelegate = new BeginOperationDelegate(this.OnBeginGetBarcode);
            }
            if ((this.onEndGetBarcodeDelegate == null)) {
                this.onEndGetBarcodeDelegate = new EndOperationDelegate(this.OnEndGetBarcode);
            }
            if ((this.onGetBarcodeCompletedDelegate == null)) {
                this.onGetBarcodeCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetBarcodeCompleted);
            }
            base.InvokeAsync(this.onBeginGetBarcodeDelegate, new object[] {
                        userCredential,
                        categoryName,
                        tagName,
                        imageType,
                        sizeInInches,
                        decorationsType,
                        isBlackWhite}, this.onEndGetBarcodeDelegate, this.onGetBarcodeCompletedDelegate, userState);
        }
        
        public string GetTagId(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, string tagName) {
            return base.Channel.GetTagId(userCredential, categoryName, tagName);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginGetTagId(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, string tagName, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetTagId(userCredential, categoryName, tagName, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public string EndGetTagId(System.IAsyncResult result) {
            return base.Channel.EndGetTagId(result);
        }
        
        private System.IAsyncResult OnBeginGetTagId(object[] inValues, System.AsyncCallback callback, object asyncState) {
            LiveStream.MicrosoftTagService.UserCredential userCredential = ((LiveStream.MicrosoftTagService.UserCredential)(inValues[0]));
            string categoryName = ((string)(inValues[1]));
            string tagName = ((string)(inValues[2]));
            return this.BeginGetTagId(userCredential, categoryName, tagName, callback, asyncState);
        }
        
        private object[] OnEndGetTagId(System.IAsyncResult result) {
            string retVal = this.EndGetTagId(result);
            return new object[] {
                    retVal};
        }
        
        private void OnGetTagIdCompleted(object state) {
            if ((this.GetTagIdCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetTagIdCompleted(this, new GetTagIdCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetTagIdAsync(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, string tagName) {
            this.GetTagIdAsync(userCredential, categoryName, tagName, null);
        }
        
        public void GetTagIdAsync(LiveStream.MicrosoftTagService.UserCredential userCredential, string categoryName, string tagName, object userState) {
            if ((this.onBeginGetTagIdDelegate == null)) {
                this.onBeginGetTagIdDelegate = new BeginOperationDelegate(this.OnBeginGetTagId);
            }
            if ((this.onEndGetTagIdDelegate == null)) {
                this.onEndGetTagIdDelegate = new EndOperationDelegate(this.OnEndGetTagId);
            }
            if ((this.onGetTagIdCompletedDelegate == null)) {
                this.onGetTagIdCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetTagIdCompleted);
            }
            base.InvokeAsync(this.onBeginGetTagIdDelegate, new object[] {
                        userCredential,
                        categoryName,
                        tagName}, this.onEndGetTagIdDelegate, this.onGetTagIdCompletedDelegate, userState);
        }
    }
}