Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.ServiceModel.Discovery / System / ServiceModel / Discovery / DiscoveryEndpointValidator.cs / 1305376 / DiscoveryEndpointValidator.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.ServiceModel.Discovery { using System.ServiceModel.Channels; using System.ServiceModel.Description; using System.ServiceModel.Dispatcher; using System.Runtime; class DiscoveryEndpointValidator : IEndpointBehavior { void IEndpointBehavior.AddBindingParameters(ServiceEndpoint endpoint, BindingParameterCollection bindingParameters) { } void IEndpointBehavior.ApplyClientBehavior(ServiceEndpoint endpoint, ClientRuntime clientRuntime) { } void IEndpointBehavior.ApplyDispatchBehavior(ServiceEndpoint endpoint, EndpointDispatcher endpointDispatcher) { if (endpoint == null) { throw FxTrace.Exception.ArgumentNull("endpoint"); } if (endpointDispatcher == null) { throw FxTrace.Exception.ArgumentNull("endpointDispatcher"); } if (endpoint.IsSystemEndpoint && endpointDispatcher.ChannelDispatcher.Host.Description.Behaviors.Find() == null) { throw FxTrace.Exception.AsError(new InvalidOperationException(SR.DiscoveryEndpointWithoutBehavior(endpoint.Name))); } } void IEndpointBehavior.Validate(ServiceEndpoint endpoint) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StateMachineDesignerPaint.cs
- RegexGroupCollection.cs
- ContextMenuService.cs
- EntityDataSourceContextDisposingEventArgs.cs
- TextElement.cs
- ArcSegment.cs
- ComplusTypeValidator.cs
- SingleAnimation.cs
- PageCatalogPartDesigner.cs
- BuildProvidersCompiler.cs
- XmlBinaryWriter.cs
- GlyphRunDrawing.cs
- IriParsingElement.cs
- SQLMoneyStorage.cs
- DataGridTableStyleMappingNameEditor.cs
- HttpCapabilitiesBase.cs
- AppSettingsExpressionBuilder.cs
- _ProxyRegBlob.cs
- TranslateTransform.cs
- MenuTracker.cs
- StringConverter.cs
- BindingsCollection.cs
- DataGridViewSelectedColumnCollection.cs
- ProxyFragment.cs
- EntityContainerRelationshipSet.cs
- ScriptingScriptResourceHandlerSection.cs
- MeasureData.cs
- CompileXomlTask.cs
- IgnoreDataMemberAttribute.cs
- DropAnimation.xaml.cs
- ImplicitInputBrush.cs
- FileAuthorizationModule.cs
- TypeExtensionConverter.cs
- FixedBufferAttribute.cs
- GetBrowserTokenRequest.cs
- ChangeConflicts.cs
- PackWebRequest.cs
- DataGridPageChangedEventArgs.cs
- _UriSyntax.cs
- DataPagerFieldCollection.cs
- CodeConditionStatement.cs
- KeyedQueue.cs
- ipaddressinformationcollection.cs
- MenuItem.cs
- EventsTab.cs
- HeaderCollection.cs
- HttpContextBase.cs
- coordinatorfactory.cs
- MultiSelectRootGridEntry.cs
- PingOptions.cs
- ItemsControl.cs
- SqlClientWrapperSmiStreamChars.cs
- DoubleLinkListEnumerator.cs
- HGlobalSafeHandle.cs
- Matrix3D.cs
- PageCodeDomTreeGenerator.cs
- SessionStateContainer.cs
- HttpConfigurationSystem.cs
- InstanceNameConverter.cs
- CatalogPart.cs
- CodeMemberEvent.cs
- SqlDataSource.cs
- WebBrowserBase.cs
- TokenBasedSet.cs
- PointHitTestResult.cs
- FrameworkElementFactoryMarkupObject.cs
- AppSettingsExpressionEditor.cs
- AsyncDataRequest.cs
- CodeSnippetTypeMember.cs
- RepeatBehaviorConverter.cs
- GeometryModel3D.cs
- ProgressBar.cs
- SimpleBitVector32.cs
- QuaternionKeyFrameCollection.cs
- NavigationPropertySingletonExpression.cs
- JpegBitmapEncoder.cs
- IsolatedStorageFile.cs
- COM2Enum.cs
- ProviderBase.cs
- SoapClientProtocol.cs
- TextRunCache.cs
- ReferenceService.cs
- ResourceDisplayNameAttribute.cs
- AutomationPropertyChangedEventArgs.cs
- Line.cs
- ToolStripButton.cs
- DoubleIndependentAnimationStorage.cs
- CompositeCollection.cs
- AsymmetricKeyExchangeDeformatter.cs
- ThicknessAnimationBase.cs
- RangeValueProviderWrapper.cs
- AttachedAnnotationChangedEventArgs.cs
- X509AsymmetricSecurityKey.cs
- OutputWindow.cs
- SoapObjectReader.cs
- SettingsBindableAttribute.cs
- SystemBrushes.cs
- EventWaitHandleSecurity.cs
- Calendar.cs
- ADConnectionHelper.cs