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
- ListItemCollection.cs
- AddInAttribute.cs
- DataReaderContainer.cs
- WithParamAction.cs
- ComboBoxItem.cs
- EmptyControlCollection.cs
- XmlSchemaExporter.cs
- XmlSchemaType.cs
- FontStyle.cs
- SimpleTypeResolver.cs
- BaseDataList.cs
- Predicate.cs
- ZipIOExtraFieldPaddingElement.cs
- KeyConstraint.cs
- MembershipUser.cs
- TextBoxView.cs
- ViewManager.cs
- StatusBarItemAutomationPeer.cs
- AggregateNode.cs
- SpecularMaterial.cs
- MethodExpression.cs
- _LoggingObject.cs
- PropertyGridEditorPart.cs
- RawStylusInputCustomDataList.cs
- QueryContinueDragEventArgs.cs
- SR.cs
- NotConverter.cs
- ExceptionDetail.cs
- IriParsingElement.cs
- DataGridItemEventArgs.cs
- TextParagraphProperties.cs
- MessagePartProtectionMode.cs
- WaitForChangedResult.cs
- BaseValidatorDesigner.cs
- UserNamePasswordValidator.cs
- ExpandableObjectConverter.cs
- EdmProperty.cs
- ImageFormatConverter.cs
- DataContext.cs
- OrderPreservingMergeHelper.cs
- Repeater.cs
- AmbientProperties.cs
- TraceContextEventArgs.cs
- ToolBar.cs
- SmtpNegotiateAuthenticationModule.cs
- ItemCheckedEvent.cs
- Trigger.cs
- UserCancellationException.cs
- HideDisabledControlAdapter.cs
- WebPartVerb.cs
- FixedNode.cs
- BufferedReadStream.cs
- Columns.cs
- ListParagraph.cs
- ColorTypeConverter.cs
- CodeTypeParameterCollection.cs
- TreeNodeCollection.cs
- DataSourceListEditor.cs
- OdbcEnvironmentHandle.cs
- BrowserDefinition.cs
- Scheduler.cs
- DbProviderConfigurationHandler.cs
- XsdDuration.cs
- HtmlControlPersistable.cs
- ShaderEffect.cs
- ProcessStartInfo.cs
- SafeNativeMethods.cs
- MinMaxParagraphWidth.cs
- ExpressionContext.cs
- SubMenuStyleCollection.cs
- ObjectSet.cs
- SQLBytesStorage.cs
- ListViewSelectEventArgs.cs
- ClientTarget.cs
- ApplicationException.cs
- DoubleCollectionConverter.cs
- FrameworkTextComposition.cs
- HandoffBehavior.cs
- MdImport.cs
- DataGridColumnFloatingHeader.cs
- LeafCellTreeNode.cs
- ChannelSettingsElement.cs
- TemplateColumn.cs
- DelegatedStream.cs
- AttachedPropertyMethodSelector.cs
- CodeDOMProvider.cs
- SpotLight.cs
- RelOps.cs
- ProgressBarAutomationPeer.cs
- Crc32.cs
- PrivilegeNotHeldException.cs
- ResXResourceWriter.cs
- ComplexPropertyEntry.cs
- RequestResponse.cs
- SspiNegotiationTokenAuthenticatorState.cs
- EntityConnection.cs
- StrokeCollectionConverter.cs
- ThemeInfoAttribute.cs
- odbcmetadatacolumnnames.cs
- ClientTargetCollection.cs