Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / NamedPipeTransportElement.cs / 1 / NamedPipeTransportElement.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System.Configuration; using System.Globalization; using System.ServiceModel.Channels; public sealed partial class NamedPipeTransportElement : ConnectionOrientedTransportElement { public NamedPipeTransportElement() { } public override Type BindingElementType { get { return typeof(NamedPipeTransportBindingElement); } } public override void ApplyConfiguration(BindingElement bindingElement) { base.ApplyConfiguration(bindingElement); NamedPipeTransportBindingElement binding = (NamedPipeTransportBindingElement)bindingElement; #pragma warning suppress 56506 //[....]; base.ApplyConfiguration above checks for bindingElement being null this.ConnectionPoolSettings.ApplyConfiguration(binding.ConnectionPoolSettings); } protected internal override void InitializeFrom(BindingElement bindingElement) { base.InitializeFrom(bindingElement); #pragma warning suppress 56506 // [....], base.CopyFrom() validates the argument NamedPipeTransportBindingElement binding = (NamedPipeTransportBindingElement)bindingElement; this.ConnectionPoolSettings.InitializeFrom(binding.ConnectionPoolSettings); } 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); } protected override TransportBindingElement CreateDefaultBindingElement() { return new NamedPipeTransportBindingElement(); } [ConfigurationProperty(ConfigurationStrings.ConnectionPoolSettings)] public NamedPipeConnectionPoolSettingsElement ConnectionPoolSettings { get { return (NamedPipeConnectionPoolSettingsElement)base[ConfigurationStrings.ConnectionPoolSettings]; } set { base[ConfigurationStrings.ConnectionPoolSettings] = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SkipStoryboardToFill.cs
- TitleStyle.cs
- CngProperty.cs
- SerializationStore.cs
- XmlPreloadedResolver.cs
- SineEase.cs
- Span.cs
- DmlSqlGenerator.cs
- TypeGeneratedEventArgs.cs
- SqlProcedureAttribute.cs
- DataGridViewRowCollection.cs
- PowerEase.cs
- StringArrayEditor.cs
- _BasicClient.cs
- ObjectComplexPropertyMapping.cs
- StreamInfo.cs
- XmlCodeExporter.cs
- MenuItemAutomationPeer.cs
- TextContainerChangeEventArgs.cs
- UdpReplyToBehavior.cs
- FixedSOMPageConstructor.cs
- BinaryCommonClasses.cs
- TaskExceptionHolder.cs
- ConfigurationSettings.cs
- RemotingSurrogateSelector.cs
- ReflectTypeDescriptionProvider.cs
- CacheMemory.cs
- TimelineGroup.cs
- IProvider.cs
- COM2FontConverter.cs
- TraceHandler.cs
- CodeRemoveEventStatement.cs
- WindowsListBox.cs
- IdentityNotMappedException.cs
- DataGridComponentEditor.cs
- ReadOnlyDictionary.cs
- HashAlgorithm.cs
- TextSpanModifier.cs
- SiteOfOriginPart.cs
- HMACMD5.cs
- TypedReference.cs
- IntSecurity.cs
- XMLDiffLoader.cs
- ScrollProviderWrapper.cs
- MatrixAnimationUsingPath.cs
- DictionaryManager.cs
- CellParaClient.cs
- SelectionWordBreaker.cs
- shaperfactory.cs
- HtmlContainerControl.cs
- XmlElementList.cs
- TextEditorThreadLocalStore.cs
- Repeater.cs
- ServiceProviders.cs
- CodeIdentifiers.cs
- TextMetrics.cs
- Array.cs
- ControlHelper.cs
- PermissionSetEnumerator.cs
- DataIdProcessor.cs
- MissingMemberException.cs
- PersistenceException.cs
- HttpModuleActionCollection.cs
- DocumentViewerAutomationPeer.cs
- StreamWriter.cs
- TextMarkerSource.cs
- HtmlDocument.cs
- VectorCollection.cs
- Buffer.cs
- ActivityMarkupSerializer.cs
- InputScopeNameConverter.cs
- Stack.cs
- WebPartUtil.cs
- RequiredFieldValidator.cs
- SQLMembershipProvider.cs
- ResourceContainer.cs
- RectangleConverter.cs
- StatusBar.cs
- PolicyManager.cs
- AssemblyFilter.cs
- GeneralTransform2DTo3DTo2D.cs
- TreeNodeCollectionEditorDialog.cs
- EntryPointNotFoundException.cs
- DetailsViewPageEventArgs.cs
- HyperLink.cs
- DbConnectionStringBuilder.cs
- ValueQuery.cs
- UserControlBuildProvider.cs
- ControlBuilderAttribute.cs
- ToolStripLabel.cs
- IdnElement.cs
- Matrix3DConverter.cs
- RowVisual.cs
- CopyAttributesAction.cs
- HttpProfileGroupBase.cs
- DispatcherOperation.cs
- IdentityReference.cs
- TrackingProfileSerializer.cs
- DbConnectionStringBuilder.cs
- ExceptionTranslationTable.cs