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
- Monitor.cs
- RoleManagerModule.cs
- EntityException.cs
- AssertSection.cs
- ResourceProperty.cs
- DBDataPermissionAttribute.cs
- InvalidCastException.cs
- OutputWindow.cs
- SqlParameterCollection.cs
- PngBitmapEncoder.cs
- TransportSecurityBindingElement.cs
- AdapterDictionary.cs
- WebPartConnectionsDisconnectVerb.cs
- CompensatableTransactionScopeActivityDesigner.cs
- WebBrowsableAttribute.cs
- ComponentChangingEvent.cs
- HtmlShim.cs
- XhtmlBasicCommandAdapter.cs
- OutputCacheSection.cs
- MetadataCollection.cs
- LoginDesignerUtil.cs
- XPathExpr.cs
- Visitor.cs
- SerializationTrace.cs
- CodeDelegateCreateExpression.cs
- AttributeProviderAttribute.cs
- CheckedListBox.cs
- AsyncPostBackErrorEventArgs.cs
- DataGridRow.cs
- SynthesizerStateChangedEventArgs.cs
- UrlAuthFailedErrorFormatter.cs
- SchemaSetCompiler.cs
- TransactionManager.cs
- TemplateBaseAction.cs
- IsolatedStoragePermission.cs
- DataTableReaderListener.cs
- EFTableProvider.cs
- X509SecurityTokenAuthenticator.cs
- WpfPayload.cs
- SqlProvider.cs
- HtmlInputText.cs
- ReferencedAssembly.cs
- Range.cs
- DataGridViewRowsRemovedEventArgs.cs
- SynchronousReceiveBehavior.cs
- OrderPreservingMergeHelper.cs
- Overlapped.cs
- GreenMethods.cs
- Utils.cs
- DeflateEmulationStream.cs
- SerializationInfo.cs
- ZeroOpNode.cs
- EntityContainerEntitySet.cs
- ObservableCollection.cs
- Decorator.cs
- LineGeometry.cs
- GraphicsState.cs
- StyleHelper.cs
- BindingGroup.cs
- SendReply.cs
- WebRequestModulesSection.cs
- Missing.cs
- GridViewActionList.cs
- SQLResource.cs
- ConfigurationException.cs
- PropertyEmitter.cs
- OuterGlowBitmapEffect.cs
- DoubleAverageAggregationOperator.cs
- CompiledQuery.cs
- DataGridItem.cs
- NodeFunctions.cs
- ButtonStandardAdapter.cs
- WindowCollection.cs
- ObjectStateEntry.cs
- SurrogateEncoder.cs
- PageRequestManager.cs
- CaseCqlBlock.cs
- BlurBitmapEffect.cs
- TraceSection.cs
- WithParamAction.cs
- InstanceKeyCompleteException.cs
- CachedCompositeFamily.cs
- KerberosTicketHashIdentifierClause.cs
- WebRequestModulesSection.cs
- CultureInfoConverter.cs
- RawKeyboardInputReport.cs
- InfoCardAsymmetricCrypto.cs
- AnonymousIdentificationModule.cs
- GB18030Encoding.cs
- SoapCodeExporter.cs
- SchemaMerger.cs
- PageWrapper.cs
- UrlMappingsSection.cs
- WebPartConnectionsCloseVerb.cs
- HttpApplicationStateBase.cs
- RoutedEvent.cs
- WsatAdminException.cs
- WebPartDescription.cs
- PixelShader.cs
- EndEvent.cs