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
- QilName.cs
- RuntimeArgumentHandle.cs
- TextEditorContextMenu.cs
- TemplateInstanceAttribute.cs
- PeerNearMe.cs
- BitFlagsGenerator.cs
- EmptyControlCollection.cs
- DataSvcMapFileSerializer.cs
- CustomPopupPlacement.cs
- CompilerInfo.cs
- ToolStripRenderer.cs
- _TransmitFileOverlappedAsyncResult.cs
- EntryPointNotFoundException.cs
- Operators.cs
- _ListenerAsyncResult.cs
- InputProviderSite.cs
- ProfileService.cs
- GridEntryCollection.cs
- SafeMarshalContext.cs
- BinarySerializer.cs
- ClientType.cs
- SafeNativeMethodsOther.cs
- OleDbCommand.cs
- SubstitutionList.cs
- CommandField.cs
- ConfigXmlCDataSection.cs
- ToolStripOverflowButton.cs
- ImageListStreamer.cs
- AmbiguousMatchException.cs
- TCEAdapterGenerator.cs
- BCLDebug.cs
- NamespaceTable.cs
- ImageInfo.cs
- IntegerFacetDescriptionElement.cs
- _Rfc2616CacheValidators.cs
- StringCollectionEditor.cs
- KeyGesture.cs
- GlyphInfoList.cs
- RuleValidation.cs
- LOSFormatter.cs
- FileChangesMonitor.cs
- MultiSelectRootGridEntry.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- ItemsControl.cs
- WindowInteractionStateTracker.cs
- DecimalStorage.cs
- DesignerToolStripControlHost.cs
- BackgroundFormatInfo.cs
- Base64Stream.cs
- UrlAuthFailedErrorFormatter.cs
- QualificationDataItem.cs
- WindowInteractionStateTracker.cs
- DoubleLink.cs
- UnitControl.cs
- SingleAnimationBase.cs
- SharedConnectionWorkflowTransactionService.cs
- InkSerializer.cs
- EncoderNLS.cs
- IncrementalCompileAnalyzer.cs
- NativeCompoundFileAPIs.cs
- IntegerFacetDescriptionElement.cs
- UrlAuthorizationModule.cs
- EventToken.cs
- FlatButtonAppearance.cs
- AsymmetricSignatureDeformatter.cs
- SqlCommand.cs
- HtmlElementErrorEventArgs.cs
- AutomationEvent.cs
- cookie.cs
- PathFigure.cs
- WebBodyFormatMessageProperty.cs
- TextProperties.cs
- FrameworkContentElement.cs
- JavaScriptObjectDeserializer.cs
- WrappedIUnknown.cs
- WebPartCollection.cs
- ApplicationActivator.cs
- RTLAwareMessageBox.cs
- ServiceMemoryGates.cs
- DecoderFallbackWithFailureFlag.cs
- MetadataSerializer.cs
- xmlfixedPageInfo.cs
- ParameterBuilder.cs
- ComponentSerializationService.cs
- OutputCacheSettings.cs
- SchemaElementLookUpTable.cs
- DiscriminatorMap.cs
- SqlExpander.cs
- ProviderConnectionPointCollection.cs
- StringToken.cs
- PostBackTrigger.cs
- SqlInternalConnectionSmi.cs
- Panel.cs
- OracleCommandBuilder.cs
- StorageMappingItemCollection.cs
- CodeDesigner.cs
- SettingsProviderCollection.cs
- Roles.cs
- XmlReflectionMember.cs
- InputBuffer.cs