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
- ServiceCredentialsElement.cs
- BitmapEffectInputData.cs
- ProfilePropertyNameValidator.cs
- MethodRental.cs
- SmiGettersStream.cs
- UnhandledExceptionEventArgs.cs
- XamlFigureLengthSerializer.cs
- LocalizedNameDescriptionPair.cs
- HebrewNumber.cs
- SqlDelegatedTransaction.cs
- AudioException.cs
- VisualStyleRenderer.cs
- ConstraintCollection.cs
- ManagementBaseObject.cs
- BamlRecords.cs
- Point.cs
- BaseTemplatedMobileComponentEditor.cs
- BinaryMethodMessage.cs
- GuidConverter.cs
- StyleModeStack.cs
- XmlILOptimizerVisitor.cs
- ToRequest.cs
- DateTimeAutomationPeer.cs
- ReaderWriterLock.cs
- VectorConverter.cs
- TreeBuilder.cs
- DialogWindow.cs
- Ref.cs
- NamespaceQuery.cs
- PersonalizablePropertyEntry.cs
- LayoutUtils.cs
- FrameworkObject.cs
- FixedTextPointer.cs
- DataListComponentEditor.cs
- BamlResourceContent.cs
- TraceUtils.cs
- PixelShader.cs
- LocalizabilityAttribute.cs
- RadioButtonBaseAdapter.cs
- AnnotationAdorner.cs
- RestClientProxyHandler.cs
- ButtonAutomationPeer.cs
- AuthenticationManager.cs
- SmiEventStream.cs
- List.cs
- VersionValidator.cs
- Setter.cs
- SendingRequestEventArgs.cs
- WebPartCollection.cs
- ConfigUtil.cs
- Single.cs
- SafeEventLogWriteHandle.cs
- RelationshipManager.cs
- RSAProtectedConfigurationProvider.cs
- XmlSchemaSimpleTypeList.cs
- XmlSchemaSubstitutionGroup.cs
- _SingleItemRequestCache.cs
- BinHexEncoding.cs
- Span.cs
- NestPullup.cs
- MeshGeometry3D.cs
- XLinq.cs
- ImpersonateTokenRef.cs
- StackSpiller.cs
- HwndStylusInputProvider.cs
- ExpressionBindings.cs
- Line.cs
- CssStyleCollection.cs
- Splitter.cs
- ItemsPanelTemplate.cs
- FormsAuthenticationTicket.cs
- PasswordPropertyTextAttribute.cs
- FormClosedEvent.cs
- ViewUtilities.cs
- DataTemplateSelector.cs
- EncryptedType.cs
- ReachUIElementCollectionSerializer.cs
- GlyphsSerializer.cs
- GetPageNumberCompletedEventArgs.cs
- TextFindEngine.cs
- SqlError.cs
- Trustee.cs
- EntityClassGenerator.cs
- UserPersonalizationStateInfo.cs
- WriteLineDesigner.xaml.cs
- QueryResults.cs
- ActivityWithResultWrapper.cs
- ContainerControlDesigner.cs
- Matrix3D.cs
- ZoomPercentageConverter.cs
- NameService.cs
- ProcessModelInfo.cs
- CustomCategoryAttribute.cs
- Misc.cs
- ListViewInsertionMark.cs
- FixedSOMGroup.cs
- ConsumerConnectionPointCollection.cs
- RelationshipManager.cs
- DefaultBinder.cs
- StandardRuntimeEnumValidatorAttribute.cs