本文整理汇总了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;
}
示例3: CopyFrom
public override void CopyFrom(ServiceModelExtensionElement from)
{
base.CopyFrom(from);
MakeConnectionElement source = (MakeConnectionElement)from;
this.CopyFrom(source);
}
示例4: CopyFrom
public override void CopyFrom(ServiceModelExtensionElement from)
{
base.CopyFrom(from);
PrivacyNoticeElement element = (PrivacyNoticeElement) from;
this.Url = element.Url;
this.Version = element.Version;
}
示例5: CopyFrom
public override void CopyFrom(ServiceModelExtensionElement from)
{
base.CopyFrom(from);
ByteStreamMessageEncodingElement source = (ByteStreamMessageEncodingElement)from;
this.CopyFrom(source.ReaderQuotas);
}
示例6: CopyFrom
public override void CopyFrom (ServiceModelExtensionElement from)
{
if (from == null)
throw new ArgumentNullException ("from");
var ce = (DiscoveryClientElement) from;
FindCriteria.CopyFrom (ce.FindCriteria);
}
示例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;
}
示例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;
}
}
示例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;
}
示例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);
}
示例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;
}
示例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;
}