当前位置: 首页>>代码示例>>C#>>正文


C# Configuration.ServiceModelExtensionElement类代码示例

本文整理汇总了C#中System.ServiceModel.Configuration.ServiceModelExtensionElement的典型用法代码示例。如果您正苦于以下问题:C# ServiceModelExtensionElement类的具体用法?C# ServiceModelExtensionElement怎么用?C# ServiceModelExtensionElement使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


ServiceModelExtensionElement类属于System.ServiceModel.Configuration命名空间,在下文中一共展示了ServiceModelExtensionElement类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: CopyFrom

 //config to config copy
 public override void CopyFrom(ServiceModelExtensionElement from)
 {
     base.CopyFrom(from);
     LoopbackTransportBindingElementExtensionElement source = ((LoopbackTransportBindingElementExtensionElement)(from));
     this.ManualAddressing = source.ManualAddressing;
     this.CopyMessageProperties = source.CopyMessageProperties;
 }
开发者ID:gvdwiele,项目名称:LoopbackTransport,代码行数:8,代码来源:LoopbackTransportBindingElementExtensionElement.cs

示例2: CopyFrom

 public override void CopyFrom(ServiceModelExtensionElement from)
 {
     base.CopyFrom(from);
     var element = (CompressionElement) from;
     Level = element.Level;
     Algorithm = element.Algorithm;
 }
开发者ID:powerhai,项目名称:Jinchen,代码行数:7,代码来源:CompressionElement.cs

示例3: CopyFrom

        public override void CopyFrom(ServiceModelExtensionElement from)
        {
            base.CopyFrom(from);
            MakeConnectionElement source = (MakeConnectionElement)from;

            this.CopyFrom(source);
        }
开发者ID:tian1ll1,项目名称:WPF_Examples,代码行数:7,代码来源:MakeConnectionElement.cs

示例4: CopyFrom

 public override void CopyFrom(ServiceModelExtensionElement from)
 {
     base.CopyFrom(from);
     PrivacyNoticeElement element = (PrivacyNoticeElement) from;
     this.Url = element.Url;
     this.Version = element.Version;
 }
开发者ID:pritesh-mandowara-sp,项目名称:DecompliedDotNetLibraries,代码行数:7,代码来源:PrivacyNoticeElement.cs

示例5: CopyFrom

        public override void CopyFrom(ServiceModelExtensionElement from)
        {
            base.CopyFrom(from);
            ByteStreamMessageEncodingElement source = (ByteStreamMessageEncodingElement)from;

            this.CopyFrom(source.ReaderQuotas);
        }
开发者ID:iskiselev,项目名称:JSIL.NetFramework,代码行数:7,代码来源:ByteStreamMessageEncodingElement.cs

示例6: CopyFrom

		public override void CopyFrom (ServiceModelExtensionElement from)
		{
			if (from == null)
				throw new ArgumentNullException ("from");
			var ce = (DiscoveryClientElement) from;
			FindCriteria.CopyFrom (ce.FindCriteria);
		}
开发者ID:Profit0004,项目名称:mono,代码行数:7,代码来源:DiscoveryClientElement.cs

示例7: CopyFrom

        public override void CopyFrom(ServiceModelExtensionElement from)
        {
            base.CopyFrom(from);            
            TransactionFlowElement source = (TransactionFlowElement)from;
#pragma warning suppress 56506 // Microsoft, base.CopyFrom() validates the argument            
            this.TransactionProtocol = source.TransactionProtocol;
        }
开发者ID:uQr,项目名称:referencesource,代码行数:7,代码来源:TransactionFlowElement.cs

示例8: CopyFrom

 public override void CopyFrom(ServiceModelExtensionElement from)
 {
     base.CopyFrom(from);
     DataContractSerializerElement element = (DataContractSerializerElement) from;
     this.IgnoreExtensionDataObject = element.IgnoreExtensionDataObject;
     this.MaxItemsInObjectGraph = element.MaxItemsInObjectGraph;
 }
开发者ID:pritesh-mandowara-sp,项目名称:DecompliedDotNetLibraries,代码行数:7,代码来源:DataContractSerializerElement.cs

示例9: CopyFrom

 public override void CopyFrom(ServiceModelExtensionElement from)
 {
     base.CopyFrom(from);
     MsmqElementBase base2 = from as MsmqElementBase;
     if (base2 != null)
     {
         this.CustomDeadLetterQueue = base2.CustomDeadLetterQueue;
         this.DeadLetterQueue = base2.DeadLetterQueue;
         this.Durable = base2.Durable;
         this.ExactlyOnce = base2.ExactlyOnce;
         this.MaxRetryCycles = base2.MaxRetryCycles;
         this.ReceiveContextEnabled = base2.ReceiveContextEnabled;
         this.ReceiveErrorHandling = base2.ReceiveErrorHandling;
         this.ReceiveRetryCount = base2.ReceiveRetryCount;
         this.RetryCycleDelay = base2.RetryCycleDelay;
         this.TimeToLive = base2.TimeToLive;
         this.UseSourceJournal = base2.UseSourceJournal;
         this.UseMsmqTracing = base2.UseMsmqTracing;
         this.ValidityDuration = base2.ValidityDuration;
         this.MsmqTransportSecurity.MsmqAuthenticationMode = base2.MsmqTransportSecurity.MsmqAuthenticationMode;
         this.MsmqTransportSecurity.MsmqProtectionLevel = base2.MsmqTransportSecurity.MsmqProtectionLevel;
         this.MsmqTransportSecurity.MsmqEncryptionAlgorithm = base2.MsmqTransportSecurity.MsmqEncryptionAlgorithm;
         this.MsmqTransportSecurity.MsmqSecureHashAlgorithm = base2.MsmqTransportSecurity.MsmqSecureHashAlgorithm;
     }
 }
开发者ID:pritesh-mandowara-sp,项目名称:DecompliedDotNetLibraries,代码行数:25,代码来源:MsmqElementBase.cs

示例10: CopyFrom

 public override void CopyFrom(ServiceModelExtensionElement from)
 {
     base.CopyFrom(from);
     DispatcherSynchronizationElement element = (DispatcherSynchronizationElement) from;
     this.AsynchronousSendEnabled = element.AsynchronousSendEnabled;
     this.MaxPendingReceives = element.MaxPendingReceives;
 }
开发者ID:pritesh-mandowara-sp,项目名称:DecompliedDotNetLibraries,代码行数:7,代码来源:DispatcherSynchronizationElement.cs

示例11: CopyFrom

        public override void CopyFrom(ServiceModelExtensionElement from)
        {
            base.CopyFrom(from);

            CallbackDebugElement source = (CallbackDebugElement)from;
#pragma warning suppress 56506 //Microsoft; base.CopyFrom() check for 'from' being null
            this.IncludeExceptionDetailInFaults = source.IncludeExceptionDetailInFaults;
        }
开发者ID:uQr,项目名称:referencesource,代码行数:8,代码来源:CallbackDebugElement.cs

示例12: CopyFrom

        public override void CopyFrom(ServiceModelExtensionElement from)
        {
            base.CopyFrom(from);
            NamedPipeTransportElement source = (NamedPipeTransportElement)from;
#pragma warning suppress 56506 // [....], base.CopyFrom() validates the argument
            this.ConnectionPoolSettings.CopyFrom(source.ConnectionPoolSettings);
            this.PipeSettings.CopyFrom(source.PipeSettings);
        }
开发者ID:iskiselev,项目名称:JSIL.NetFramework,代码行数:8,代码来源:NamedPipeTransportElement.cs

示例13: CopyFrom

        public override void CopyFrom(ServiceModelExtensionElement from)
        {
            base.CopyFrom(from);

            HttpsTransportElement source = (HttpsTransportElement)from;
#pragma warning suppress 56506 // Microsoft, base.CopyFrom() validates the argument
            this.RequireClientCertificate = source.RequireClientCertificate;
        }
开发者ID:uQr,项目名称:referencesource,代码行数:8,代码来源:HttpsTransportElement.cs

示例14: CopyFrom

 public override void CopyFrom(ServiceModelExtensionElement from)
 {
     base.CopyFrom(from);
     BinaryMessageEncodingElement element = (BinaryMessageEncodingElement) from;
     this.MaxSessionSize = element.MaxSessionSize;
     this.MaxReadPoolSize = element.MaxReadPoolSize;
     this.MaxWritePoolSize = element.MaxWritePoolSize;
 }
开发者ID:pritesh-mandowara-sp,项目名称:DecompliedDotNetLibraries,代码行数:8,代码来源:BinaryMessageEncodingElement.cs

示例15: CopyFrom

        public override void CopyFrom(ServiceModelExtensionElement from)
        {
            base.CopyFrom(from);

            SslStreamSecurityElement source = (SslStreamSecurityElement)from;
#pragma warning suppress 56506 // [....], base.CopyFrom() validates the argument
            this.RequireClientCertificate = source.RequireClientCertificate;
        }
开发者ID:krytht,项目名称:DotNetReferenceSource,代码行数:8,代码来源:SslStreamSecurityElement.cs


注:本文中的System.ServiceModel.Configuration.ServiceModelExtensionElement类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。