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
- TextEditorMouse.cs
- FormatterConverter.cs
- SqlDeflator.cs
- FrameworkElementAutomationPeer.cs
- unitconverter.cs
- DockPanel.cs
- ConditionalAttribute.cs
- FontStretch.cs
- FlowPosition.cs
- EncryptedKeyIdentifierClause.cs
- WindowsTitleBar.cs
- SafePointer.cs
- PackageFilter.cs
- DPAPIProtectedConfigurationProvider.cs
- WebUtil.cs
- Schema.cs
- NamespaceExpr.cs
- MediaElementAutomationPeer.cs
- Merger.cs
- ProviderSettings.cs
- SecureEnvironment.cs
- FileLoadException.cs
- LicenseProviderAttribute.cs
- SmtpMail.cs
- EmbeddedObject.cs
- ConnectionManagementSection.cs
- SimpleParser.cs
- ChildrenQuery.cs
- SerializationHelper.cs
- ADMembershipProvider.cs
- StylusPointCollection.cs
- WebPartHeaderCloseVerb.cs
- ScriptIgnoreAttribute.cs
- IntSecurity.cs
- GeometryGroup.cs
- RawStylusInputCustomData.cs
- DesignerMetadata.cs
- Size.cs
- BitmapEffectOutputConnector.cs
- Utility.cs
- RadialGradientBrush.cs
- Timer.cs
- ConfigurationSettings.cs
- SqlCommandAsyncResult.cs
- PrintControllerWithStatusDialog.cs
- ObjectHandle.cs
- FragmentNavigationEventArgs.cs
- SafeSecurityHelper.cs
- _LocalDataStore.cs
- Label.cs
- ConnectionPoint.cs
- FixedSOMLineRanges.cs
- Utils.cs
- DataTableMappingCollection.cs
- OleDbSchemaGuid.cs
- xsdvalidator.cs
- SqlProfileProvider.cs
- MtomMessageEncoder.cs
- BuilderPropertyEntry.cs
- DragDropHelper.cs
- LocalBuilder.cs
- OdbcError.cs
- Point3DCollection.cs
- RangeValuePatternIdentifiers.cs
- ServerIdentity.cs
- Matrix3DStack.cs
- FrameworkReadOnlyPropertyMetadata.cs
- MergeFailedEvent.cs
- FontStyleConverter.cs
- SelectionPatternIdentifiers.cs
- TextReader.cs
- BooleanKeyFrameCollection.cs
- PropertyFilterAttribute.cs
- Overlapped.cs
- SessionViewState.cs
- CheckBoxRenderer.cs
- RelationshipNavigation.cs
- Paragraph.cs
- InputMethodStateTypeInfo.cs
- GridViewCancelEditEventArgs.cs
- EmbeddedMailObject.cs
- RotateTransform.cs
- PropertyDescriptorGridEntry.cs
- StyleSheetRefUrlEditor.cs
- ParsedAttributeCollection.cs
- XslCompiledTransform.cs
- WebHttpDispatchOperationSelector.cs
- GZipUtils.cs
- CollectionBuilder.cs
- GroupBoxAutomationPeer.cs
- OrthographicCamera.cs
- MetadataResolver.cs
- PropertyInformationCollection.cs
- RadioButtonList.cs
- FlowDocumentPage.cs
- EntityDataSourceViewSchema.cs
- XPathNodeInfoAtom.cs
- RoleManagerModule.cs
- ScriptRegistrationManager.cs
- BrowserDefinitionCollection.cs