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
- ECDiffieHellmanCng.cs
- ForceCopyBuildProvider.cs
- X509SubjectKeyIdentifierClause.cs
- Accessible.cs
- XsdBuildProvider.cs
- DelegateBodyWriter.cs
- SrgsRule.cs
- SslStream.cs
- RequestResponse.cs
- SmiRecordBuffer.cs
- _AcceptOverlappedAsyncResult.cs
- XmlSchemaImport.cs
- Component.cs
- DefaultBinder.cs
- ISessionStateStore.cs
- MenuScrollingVisibilityConverter.cs
- NumericPagerField.cs
- shaper.cs
- CallbackHandler.cs
- CodeCatchClause.cs
- SoapSchemaExporter.cs
- ByteStack.cs
- BrushMappingModeValidation.cs
- WsdlHelpGeneratorElement.cs
- OLEDB_Enum.cs
- CompatibleComparer.cs
- ExpressionEvaluator.cs
- PropertyValueChangedEvent.cs
- Query.cs
- EditorPart.cs
- VirtualizedContainerService.cs
- ForceCopyBuildProvider.cs
- figurelengthconverter.cs
- EditingCoordinator.cs
- Site.cs
- ResXResourceWriter.cs
- StylusPoint.cs
- ForceCopyBuildProvider.cs
- ToolStripLocationCancelEventArgs.cs
- XmlSerializerFactory.cs
- OutKeywords.cs
- PropertyGridEditorPart.cs
- RemoteWebConfigurationHostStream.cs
- ProgressBar.cs
- NotifyCollectionChangedEventArgs.cs
- ObjectHandle.cs
- ThicknessAnimation.cs
- ContextDataSource.cs
- ChangePasswordDesigner.cs
- EventLogPermissionEntry.cs
- RSAOAEPKeyExchangeFormatter.cs
- TabControlEvent.cs
- WorkflowPersistenceService.cs
- EditorPartChrome.cs
- DbProviderSpecificTypePropertyAttribute.cs
- Visual3DCollection.cs
- HitTestWithGeometryDrawingContextWalker.cs
- DataContext.cs
- DataListCommandEventArgs.cs
- indexingfiltermarshaler.cs
- RegexNode.cs
- UrlMappingsSection.cs
- TypeConstant.cs
- RegisteredDisposeScript.cs
- OpenFileDialog.cs
- ImportContext.cs
- GeometryModel3D.cs
- TreeNodeStyle.cs
- UserControlAutomationPeer.cs
- SchemaSetCompiler.cs
- sqlpipe.cs
- WpfWebRequestHelper.cs
- TextServicesCompartmentContext.cs
- ReflectionTypeLoadException.cs
- TrailingSpaceComparer.cs
- GridViewPageEventArgs.cs
- WebPartsPersonalizationAuthorization.cs
- PaperSize.cs
- SafeHGlobalHandleCritical.cs
- DBConcurrencyException.cs
- Int32RectValueSerializer.cs
- CalendarAutomationPeer.cs
- IPCCacheManager.cs
- SerializationObjectManager.cs
- TargetPerspective.cs
- ApplicationDirectoryMembershipCondition.cs
- Array.cs
- lengthconverter.cs
- SimpleTypeResolver.cs
- SQLInt32.cs
- Matrix.cs
- SafeLocalMemHandle.cs
- ConfigurationValue.cs
- SHA256Managed.cs
- FlowLayoutSettings.cs
- PrivilegeNotHeldException.cs
- FixedHyperLink.cs
- ItemDragEvent.cs
- CodeCompiler.cs
- MD5Cng.cs