Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Activation / HostedBindingBehavior.cs / 1 / 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 DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Pipe.cs
- WindowHideOrCloseTracker.cs
- PerfCounters.cs
- ListViewContainer.cs
- DesignerWebPartChrome.cs
- OleDbErrorCollection.cs
- WebPartDisplayModeCollection.cs
- SoapFormatter.cs
- ReadOnlyDataSourceView.cs
- ObjectPersistData.cs
- SoapSchemaExporter.cs
- TableItemPattern.cs
- XmlSerializerVersionAttribute.cs
- WebConfigurationManager.cs
- NativeObjectSecurity.cs
- ModulesEntry.cs
- HtmlInputCheckBox.cs
- ScriptControlDescriptor.cs
- ObjectStateManager.cs
- HtmlInputHidden.cs
- StyleBamlTreeBuilder.cs
- HwndMouseInputProvider.cs
- Glyph.cs
- IListConverters.cs
- MenuCommand.cs
- Brush.cs
- ContextMenuStrip.cs
- CustomExpressionEventArgs.cs
- UpdatePanel.cs
- ArrangedElementCollection.cs
- LinearGradientBrush.cs
- CellConstant.cs
- BinaryEditor.cs
- ProfilePropertyNameValidator.cs
- wgx_commands.cs
- ComponentEditorPage.cs
- Content.cs
- ToolStripSeparatorRenderEventArgs.cs
- PinnedBufferMemoryStream.cs
- DataBoundLiteralControl.cs
- arabicshape.cs
- ObjectDisposedException.cs
- DesignOnlyAttribute.cs
- SqlDeflator.cs
- SoapIgnoreAttribute.cs
- NumericUpDownAcceleration.cs
- WhiteSpaceTrimStringConverter.cs
- MappingModelBuildProvider.cs
- SqlCachedBuffer.cs
- ByteConverter.cs
- DbConnectionOptions.cs
- hwndwrapper.cs
- PropertyPathWorker.cs
- NativeRecognizer.cs
- ItemsControlAutomationPeer.cs
- InlineUIContainer.cs
- StrongTypingException.cs
- AttributeCollection.cs
- FunctionQuery.cs
- Number.cs
- TemplateControl.cs
- ColumnResizeAdorner.cs
- TextModifier.cs
- CombinedGeometry.cs
- DataViewManagerListItemTypeDescriptor.cs
- ToolStripArrowRenderEventArgs.cs
- RuleValidation.cs
- MediaPlayerState.cs
- VsPropertyGrid.cs
- CounterSetInstanceCounterDataSet.cs
- WrappedIUnknown.cs
- BitmapSizeOptions.cs
- MessageQueueTransaction.cs
- TransformedBitmap.cs
- BitStream.cs
- CultureInfoConverter.cs
- EventToken.cs
- DbReferenceCollection.cs
- BoundPropertyEntry.cs
- LOSFormatter.cs
- PropertyPath.cs
- DocumentViewerAutomationPeer.cs
- ContentControl.cs
- DesignTimeTemplateParser.cs
- ReceiveMessageAndVerifySecurityAsyncResultBase.cs
- ForwardPositionQuery.cs
- DecoderNLS.cs
- Config.cs
- OracleInternalConnection.cs
- Int32RectConverter.cs
- LineServicesRun.cs
- EdmScalarPropertyAttribute.cs
- TypefaceMetricsCache.cs
- ReadWriteSpinLock.cs
- DesignerAutoFormatStyle.cs
- DocumentSchemaValidator.cs
- LocationSectionRecord.cs
- LOSFormatter.cs
- PropertyMap.cs
- DataRowChangeEvent.cs