Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / BindingElementExtensionElement.cs / 1 / BindingElementExtensionElement.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System; using System.ServiceModel.Channels; using System.Configuration; using System.Globalization; using System.Xml; public abstract class BindingElementExtensionElement : ServiceModelExtensionElement { public virtual void ApplyConfiguration(BindingElement bindingElement) { // Some items make sense just as tags and have no other configuration if (null == bindingElement) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("bindingElement"); } } public abstract Type BindingElementType { get; } protected internal abstract BindingElement CreateBindingElement(); protected internal virtual void InitializeFrom(BindingElement bindingElement) { if (bindingElement == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("bindingElement"); } if (bindingElement.GetType() != this.BindingElementType) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("bindingElement", SR.GetString(SR.ConfigInvalidTypeForBindingElement, this.BindingElementType.ToString(), bindingElement.GetType().ToString())); } } } } // 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
- PreDigestedSignedInfo.cs
- DependencyPropertyChangedEventArgs.cs
- DiscoveryDocumentSerializer.cs
- RequestBringIntoViewEventArgs.cs
- ClientProxyGenerator.cs
- RoutedUICommand.cs
- ToolStripRenderEventArgs.cs
- ColorPalette.cs
- PassportPrincipal.cs
- StyleSelector.cs
- StringUtil.cs
- EdmComplexPropertyAttribute.cs
- StorageFunctionMapping.cs
- DefaultWorkflowTransactionService.cs
- TabRenderer.cs
- OleDbEnumerator.cs
- TcpTransportManager.cs
- CodeGen.cs
- ValidateNames.cs
- RawStylusInputCustomDataList.cs
- UriTemplateTableMatchCandidate.cs
- MultiTrigger.cs
- RegexTree.cs
- LoadRetryHandler.cs
- CodeMethodInvokeExpression.cs
- EarlyBoundInfo.cs
- Walker.cs
- EntityDescriptor.cs
- StylusEditingBehavior.cs
- Point4D.cs
- DESCryptoServiceProvider.cs
- WrappedIUnknown.cs
- AutoResetEvent.cs
- Calendar.cs
- EmptyStringExpandableObjectConverter.cs
- StyleModeStack.cs
- Unit.cs
- WebCodeGenerator.cs
- ExtensionQuery.cs
- IfJoinedCondition.cs
- CacheForPrimitiveTypes.cs
- SinglePageViewer.cs
- Buffer.cs
- ConfigXmlAttribute.cs
- InvokeGenerator.cs
- CoreSwitches.cs
- StringSorter.cs
- SamlSerializer.cs
- Vertex.cs
- InkPresenterAutomationPeer.cs
- GatewayDefinition.cs
- BaseParaClient.cs
- ScriptResourceAttribute.cs
- ProcessHostFactoryHelper.cs
- GeneralTransform3DTo2DTo3D.cs
- AccessorTable.cs
- SamlDoNotCacheCondition.cs
- SolidColorBrush.cs
- Inflater.cs
- DataGridHeaderBorder.cs
- AlphabeticalEnumConverter.cs
- KeyedCollection.cs
- XmlNodeChangedEventManager.cs
- InvalidAsynchronousStateException.cs
- StatusBarDrawItemEvent.cs
- InProcStateClientManager.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- Rotation3D.cs
- DataSourceSerializationException.cs
- ExplicitDiscriminatorMap.cs
- SqlUserDefinedTypeAttribute.cs
- X509CertificateCollection.cs
- PointConverter.cs
- DataServiceHostWrapper.cs
- ConfigurationSectionCollection.cs
- CancellationState.cs
- CommandEventArgs.cs
- Documentation.cs
- ListViewDeleteEventArgs.cs
- IgnoreFileBuildProvider.cs
- DeclaredTypeValidatorAttribute.cs
- RichTextBoxAutomationPeer.cs
- MachineKeyConverter.cs
- HashMembershipCondition.cs
- Configuration.cs
- BufferedOutputStream.cs
- PersonalizationState.cs
- BackoffTimeoutHelper.cs
- XmlChildEnumerator.cs
- CalendarDay.cs
- UrlAuthFailureHandler.cs
- Win32PrintDialog.cs
- SuppressedPackageProperties.cs
- RealProxy.cs
- DataGrid.cs
- SystemEvents.cs
- XmlNamedNodeMap.cs
- DataGridViewLinkColumn.cs
- PrinterUnitConvert.cs
- RuleSettingsCollection.cs