Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WCF / System.ServiceModel.Activation / System / ServiceModel / Activation / HostedBindingBehavior.cs / 1305376 / HostedBindingBehavior.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Activation { using System.Collections.Generic; using System.ServiceModel; using System.ServiceModel.Description; using System.Collections.ObjectModel; using System.ServiceModel.Channels; class HostedBindingBehavior : IServiceBehavior { VirtualPathExtension virtualPathExtension; internal HostedBindingBehavior(VirtualPathExtension virtualPathExtension) { this.virtualPathExtension = virtualPathExtension; } public VirtualPathExtension VirtualPathExtension { get { return this.virtualPathExtension; } } void IServiceBehavior.Validate(ServiceDescription description, ServiceHostBase serviceHostBase) { } void IServiceBehavior.AddBindingParameters(ServiceDescription description, ServiceHostBase serviceHostBase, Collectionendpoints, BindingParameterCollection parameters) { if (parameters == null) { throw FxTrace.Exception.ArgumentNull("parameters"); } parameters.Add(this.virtualPathExtension); } void IServiceBehavior.ApplyDispatchBehavior(ServiceDescription description, ServiceHostBase serviceHostBase) { } } } // 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
- DocumentAutomationPeer.cs
- EditorBrowsableAttribute.cs
- UshortList2.cs
- ImageSourceConverter.cs
- FormViewPageEventArgs.cs
- WSDualHttpBindingCollectionElement.cs
- SystemDiagnosticsSection.cs
- SnapshotChangeTrackingStrategy.cs
- BevelBitmapEffect.cs
- DataGridViewCellStyleChangedEventArgs.cs
- LicenseProviderAttribute.cs
- Sql8ConformanceChecker.cs
- LoginUtil.cs
- Annotation.cs
- FileLoadException.cs
- SelfIssuedAuthRSACryptoProvider.cs
- DateTimeConstantAttribute.cs
- WriteableBitmap.cs
- PackagePartCollection.cs
- MembershipUser.cs
- ModelTreeEnumerator.cs
- HashCodeCombiner.cs
- ScriptingScriptResourceHandlerSection.cs
- XmlChildEnumerator.cs
- InfoCardPolicy.cs
- _LazyAsyncResult.cs
- SchemaInfo.cs
- EffectiveValueEntry.cs
- Rect3D.cs
- CharEnumerator.cs
- SafeFindHandle.cs
- EntityContainerAssociationSet.cs
- ZipFileInfoCollection.cs
- StateWorkerRequest.cs
- RoleManagerEventArgs.cs
- ConnectionsZone.cs
- TextUtf8RawTextWriter.cs
- ColumnMap.cs
- DocumentViewerAutomationPeer.cs
- SetterBase.cs
- TypeResolver.cs
- RawStylusInput.cs
- SettingsPropertyNotFoundException.cs
- ClientTargetSection.cs
- SelectedGridItemChangedEvent.cs
- DialogWindow.cs
- NamedPipeHostedTransportConfiguration.cs
- SessionStateUtil.cs
- StringUtil.cs
- DbSourceCommand.cs
- MarkupCompiler.cs
- CustomGrammar.cs
- Point3DCollection.cs
- EncoderExceptionFallback.cs
- XmlEncodedRawTextWriter.cs
- ProcessStartInfo.cs
- EnumConverter.cs
- ContextMenuStrip.cs
- PenContext.cs
- DataGridViewTextBoxEditingControl.cs
- DeviceSpecificChoiceCollection.cs
- DllNotFoundException.cs
- TypographyProperties.cs
- Rect3DConverter.cs
- ClientUtils.cs
- SequentialOutput.cs
- SqlGenerator.cs
- CorruptStoreException.cs
- WindowsFormsSynchronizationContext.cs
- ExtractorMetadata.cs
- ByteFacetDescriptionElement.cs
- Hashtable.cs
- TransformCollection.cs
- NativeMethods.cs
- Random.cs
- EntityClassGenerator.cs
- UIntPtr.cs
- ZipIOExtraFieldPaddingElement.cs
- TableLayoutPanel.cs
- ToolStripItemDesigner.cs
- SyndicationDeserializer.cs
- OperationResponse.cs
- DocumentViewerBase.cs
- WmiEventSink.cs
- ClientFormsIdentity.cs
- Material.cs
- FileSystemEventArgs.cs
- DocumentScope.cs
- OverlappedContext.cs
- ObjectResult.cs
- SQLMoneyStorage.cs
- HtmlControlPersistable.cs
- SortQuery.cs
- Freezable.cs
- CompiledWorkflowDefinitionContext.cs
- GridViewUpdatedEventArgs.cs
- SystemTcpStatistics.cs
- ArraySubsetEnumerator.cs
- CodeDirectionExpression.cs
- CodeIdentifiers.cs