Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ // 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, Collection endpoints, 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
- DesignerProperties.cs
- ResizeGrip.cs
- CompilerErrorCollection.cs
- UInt16.cs
- XmlUrlResolver.cs
- SimpleColumnProvider.cs
- BooleanFunctions.cs
- InvalidOperationException.cs
- CalendarKeyboardHelper.cs
- NegatedConstant.cs
- SafeEventLogReadHandle.cs
- CTreeGenerator.cs
- Icon.cs
- UnmanagedMarshal.cs
- HtmlTableCellCollection.cs
- StreamInfo.cs
- EnvelopedPkcs7.cs
- FormsIdentity.cs
- SecurityVersion.cs
- RemotingConfigParser.cs
- DataGridTemplateColumn.cs
- ResourceReferenceKeyNotFoundException.cs
- ConstNode.cs
- Collection.cs
- GAC.cs
- LongTypeConverter.cs
- ComboBox.cs
- HashMembershipCondition.cs
- TextRange.cs
- WebPartTransformerAttribute.cs
- RemotingSurrogateSelector.cs
- Permission.cs
- DelimitedListTraceListener.cs
- TextEditorSpelling.cs
- ReadOnlyTernaryTree.cs
- TypeBuilderInstantiation.cs
- DrawToolTipEventArgs.cs
- DataViewManagerListItemTypeDescriptor.cs
- PolicyLevel.cs
- XhtmlTextWriter.cs
- CompatibleIComparer.cs
- HandledMouseEvent.cs
- SourceChangedEventArgs.cs
- CompressEmulationStream.cs
- AppDomain.cs
- AppDomainShutdownMonitor.cs
- WmlValidatorAdapter.cs
- CoTaskMemUnicodeSafeHandle.cs
- ListViewGroupConverter.cs
- QueryReaderSettings.cs
- Mapping.cs
- UdpDiscoveryEndpointProvider.cs
- UnorderedHashRepartitionStream.cs
- RSAOAEPKeyExchangeDeformatter.cs
- OperationInfoBase.cs
- HtmlInputCheckBox.cs
- ExceptionHelpers.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- AppDomainAttributes.cs
- OptimizedTemplateContentHelper.cs
- ListSourceHelper.cs
- FirewallWrapper.cs
- TextRangeProviderWrapper.cs
- KerberosRequestorSecurityTokenAuthenticator.cs
- DataServiceHost.cs
- SetterTriggerConditionValueConverter.cs
- CaseStatement.cs
- recordstate.cs
- WebEventCodes.cs
- StorageEndPropertyMapping.cs
- SingleAnimationBase.cs
- ScaleTransform3D.cs
- _IPv6Address.cs
- WebHttpSecurityElement.cs
- XmlEncodedRawTextWriter.cs
- ProviderIncompatibleException.cs
- AggregationMinMaxHelpers.cs
- InvariantComparer.cs
- DateTimeConverter.cs
- DataGridPagerStyle.cs
- PolyBezierSegment.cs
- ServiceHttpModule.cs
- WebPartEditorCancelVerb.cs
- XmlException.cs
- DateTimeParse.cs
- ToggleButton.cs
- _ContextAwareResult.cs
- PrefixHandle.cs
- StylusPlugin.cs
- PublisherMembershipCondition.cs
- _ListenerResponseStream.cs
- GifBitmapEncoder.cs
- TableItemProviderWrapper.cs
- HitTestDrawingContextWalker.cs
- HtmlInputImage.cs
- FixedDocumentPaginator.cs
- EmptyCollection.cs
- AttributeEmitter.cs
- mediapermission.cs
- DataTemplateKey.cs