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
- MulticastNotSupportedException.cs
- PingOptions.cs
- entitydatasourceentitysetnameconverter.cs
- TextTreeExtractElementUndoUnit.cs
- EntityParameter.cs
- ValueQuery.cs
- ContainerUtilities.cs
- TreeNodeCollection.cs
- ConnectionPointCookie.cs
- ProfileServiceManager.cs
- DeferredRunTextReference.cs
- XmlTypeMapping.cs
- AnonymousIdentificationSection.cs
- Paragraph.cs
- ResourcePermissionBaseEntry.cs
- CacheVirtualItemsEvent.cs
- CodeGenerator.cs
- SystemEvents.cs
- Error.cs
- MinMaxParagraphWidth.cs
- TransferRequestHandler.cs
- SqlDataSource.cs
- GeneralTransform3DCollection.cs
- SoapExtension.cs
- SecurityCriticalDataForSet.cs
- Query.cs
- DetailsViewModeEventArgs.cs
- DecoderExceptionFallback.cs
- PropertyChangingEventArgs.cs
- ProfilePropertySettings.cs
- DataPager.cs
- __ComObject.cs
- BindToObject.cs
- CommittableTransaction.cs
- UInt16Converter.cs
- FileDialogCustomPlace.cs
- TypedCompletedAsyncResult.cs
- BlurBitmapEffect.cs
- PersonalizationState.cs
- OdbcPermission.cs
- JsonFormatWriterGenerator.cs
- SqlCacheDependencyDatabase.cs
- Package.cs
- BrowserCapabilitiesFactory.cs
- TriggerBase.cs
- XPathBuilder.cs
- RtType.cs
- TextRangeSerialization.cs
- OleServicesContext.cs
- ProviderUtil.cs
- ContentHostHelper.cs
- Transform3DCollection.cs
- HierarchicalDataBoundControlAdapter.cs
- HijriCalendar.cs
- ThreadNeutralSemaphore.cs
- HtmlTableRowCollection.cs
- BaseTreeIterator.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- SmtpDateTime.cs
- IssuedTokenParametersEndpointAddressElement.cs
- QueryExpr.cs
- WindowsFormsHostAutomationPeer.cs
- XsltSettings.cs
- CompilationUtil.cs
- Interlocked.cs
- ApplicationDirectory.cs
- EntityDataSourceEntityTypeFilterItem.cs
- TransformDescriptor.cs
- IconHelper.cs
- FileLevelControlBuilderAttribute.cs
- IDispatchConstantAttribute.cs
- LineBreakRecord.cs
- SimpleWorkerRequest.cs
- DataTableReader.cs
- IDQuery.cs
- WebHttpElement.cs
- PaginationProgressEventArgs.cs
- CopyNamespacesAction.cs
- ToolStripManager.cs
- LingerOption.cs
- PropertyEntry.cs
- CompareInfo.cs
- FloaterBaseParaClient.cs
- Win32Exception.cs
- ClosableStream.cs
- CompilationUnit.cs
- ProcessDesigner.cs
- XamlParser.cs
- OrderPreservingSpoolingTask.cs
- NativeCppClassAttribute.cs
- Path.cs
- ComAdminInterfaces.cs
- ImpersonateTokenRef.cs
- XmlWriter.cs
- ArgumentNullException.cs
- XPathNode.cs
- RawKeyboardInputReport.cs
- MenuItemCollectionEditorDialog.cs
- Setter.cs
- Rectangle.cs