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
- DataGridRow.cs
- TextEditorCharacters.cs
- DataObject.cs
- prompt.cs
- IdnElement.cs
- ComboBoxRenderer.cs
- Int32EqualityComparer.cs
- DataGridrowEditEndingEventArgs.cs
- AQNBuilder.cs
- TabControlToolboxItem.cs
- Expressions.cs
- FileUpload.cs
- SoapElementAttribute.cs
- Geometry.cs
- SqlDataSourceFilteringEventArgs.cs
- MetadataArtifactLoaderComposite.cs
- Mapping.cs
- ElapsedEventArgs.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- DocumentApplicationJournalEntry.cs
- Form.cs
- TrackingStringDictionary.cs
- Privilege.cs
- XmlSchemaInclude.cs
- SqlMultiplexer.cs
- SessionParameter.cs
- DropSource.cs
- WSFederationHttpBindingElement.cs
- DispatcherObject.cs
- FlowchartDesignerCommands.cs
- XmlAttributeCollection.cs
- DataGridViewRow.cs
- DetailsViewRow.cs
- DiagnosticStrings.cs
- ISCIIEncoding.cs
- GridViewDeletedEventArgs.cs
- VisualState.cs
- UnsafeNativeMethods.cs
- EntityDesignerDataSourceView.cs
- ImageButton.cs
- WebFaultClientMessageInspector.cs
- Assert.cs
- NavigationWindow.cs
- TextPointer.cs
- AppDomainProtocolHandler.cs
- ItemCollectionEditor.cs
- SvcMapFile.cs
- FixedSchema.cs
- SqlWebEventProvider.cs
- BulletChrome.cs
- UriSection.cs
- SynchronizedCollection.cs
- WindowsFont.cs
- HtmlToClrEventProxy.cs
- QueryOpeningEnumerator.cs
- WebPartConnectionsConnectVerb.cs
- HttpClientCertificate.cs
- BitSet.cs
- CompilerState.cs
- StringValidator.cs
- DataBindingCollection.cs
- OrderPreservingSpoolingTask.cs
- ResXResourceReader.cs
- EntityKeyElement.cs
- ObjectListFieldsPage.cs
- TextEffectResolver.cs
- ContourSegment.cs
- ProbeDuplexCD1AsyncResult.cs
- XmlSchemaSequence.cs
- DetailsViewDeleteEventArgs.cs
- Accessible.cs
- Rectangle.cs
- CookielessHelper.cs
- ReflectionPermission.cs
- SqlConnectionStringBuilder.cs
- AutoGeneratedFieldProperties.cs
- TextCollapsingProperties.cs
- XmlTextWriter.cs
- XmlIlGenerator.cs
- HttpProfileGroupBase.cs
- DefaultTraceListener.cs
- AssemblyAssociatedContentFileAttribute.cs
- ListenerAdapter.cs
- InvalidDataException.cs
- grammarelement.cs
- DataServiceProcessingPipelineEventArgs.cs
- DataGridHeaderBorder.cs
- WSSecurityPolicy11.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- ChannelPoolSettings.cs
- RtfControls.cs
- IUnknownConstantAttribute.cs
- CriticalHandle.cs
- FormsIdentity.cs
- TransactionsSectionGroup.cs
- DSASignatureFormatter.cs
- Triplet.cs
- DependencyObject.cs
- InternalEnumValidator.cs
- HtmlFormWrapper.cs