Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.ServiceModel.Discovery / System / ServiceModel / Discovery / DiscoveryViaBehavior.cs / 1305376 / DiscoveryViaBehavior.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.ServiceModel.Discovery { using System; using System.ServiceModel.Channels; using System.ServiceModel.Description; using System.ServiceModel.Dispatcher; class DiscoveryViaBehavior : IEndpointBehavior { Uri via; public DiscoveryViaBehavior(Uri via) { if (via == null) { throw FxTrace.Exception.ArgumentNull("via"); } this.via = via; } public Uri Via { get { return this.via; } set { if (value == null) { throw FxTrace.Exception.ArgumentNull("value"); } this.via = value; } } void IEndpointBehavior.AddBindingParameters(ServiceEndpoint endpoint, BindingParameterCollection bindingParameters) { } void IEndpointBehavior.ApplyClientBehavior(ServiceEndpoint endpoint, ClientRuntime clientRuntime) { if (clientRuntime == null) { throw FxTrace.Exception.ArgumentNull("clientRuntime"); } clientRuntime.Via = Via; } void IEndpointBehavior.ApplyDispatchBehavior(ServiceEndpoint endpoint, EndpointDispatcher endpointDispatcher) { // no op on the service side. } 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
- ScanQueryOperator.cs
- ConnectionStringSettingsCollection.cs
- LinqDataSourceValidationException.cs
- SizeFConverter.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- MenuItemCollectionEditor.cs
- InternalConfigSettingsFactory.cs
- ZipIOFileItemStream.cs
- LogRecordSequence.cs
- ResourceExpression.cs
- SyndicationSerializer.cs
- TypeConverterAttribute.cs
- ListBoxAutomationPeer.cs
- OneOf.cs
- TrackingStringDictionary.cs
- ToolTip.cs
- FocusChangedEventArgs.cs
- DropSource.cs
- Debugger.cs
- RegexBoyerMoore.cs
- MemoryPressure.cs
- ServicePoint.cs
- XmlILAnnotation.cs
- HealthMonitoringSection.cs
- ClientScriptManagerWrapper.cs
- HttpWriter.cs
- SessionPageStateSection.cs
- DocumentPage.cs
- ListControl.cs
- ArrayList.cs
- CDSCollectionETWBCLProvider.cs
- XmlFormatExtensionAttribute.cs
- CaseStatement.cs
- GridView.cs
- TextDecorationLocationValidation.cs
- StringAnimationUsingKeyFrames.cs
- RuleSetDialog.Designer.cs
- OperationAbortedException.cs
- AccessorTable.cs
- TextChange.cs
- SingletonChannelAcceptor.cs
- SequentialOutput.cs
- PreservationFileWriter.cs
- XmlQueryOutput.cs
- DataError.cs
- StateRuntime.cs
- CommandBinding.cs
- MDIClient.cs
- ButtonChrome.cs
- NameTable.cs
- CommandField.cs
- PathNode.cs
- ResourceContainerWrapper.cs
- cookieexception.cs
- LayoutTableCell.cs
- DesignerLinkAdapter.cs
- base64Transforms.cs
- Normalizer.cs
- ExpressionBuilder.cs
- ForeignKeyConstraint.cs
- SqlStream.cs
- DocumentReferenceCollection.cs
- SafeArchiveContext.cs
- SessionStateItemCollection.cs
- TypeSemantics.cs
- CodeTypeParameterCollection.cs
- XmlnsCache.cs
- ViewLoader.cs
- BufferedGraphics.cs
- InvalidCastException.cs
- ThemeDictionaryExtension.cs
- StorageEntitySetMapping.cs
- JsonServiceDocumentSerializer.cs
- Int16AnimationBase.cs
- TypeReference.cs
- AuthenticationConfig.cs
- AlphabeticalEnumConverter.cs
- WebPartVerbsEventArgs.cs
- Rotation3DAnimation.cs
- ProtectedConfiguration.cs
- ObjectViewQueryResultData.cs
- infer.cs
- __ConsoleStream.cs
- RemotingServices.cs
- SqlConnectionHelper.cs
- WebBrowsableAttribute.cs
- FilterableAttribute.cs
- Simplifier.cs
- FunctionUpdateCommand.cs
- RemotingConfigParser.cs
- _ChunkParse.cs
- CodeAttributeArgument.cs
- EditorZone.cs
- NavigatorOutput.cs
- RequestUriProcessor.cs
- LZCodec.cs
- TrustManager.cs
- JumpList.cs
- InfoCardProofToken.cs
- BinaryCommonClasses.cs