Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.ServiceModel.Discovery / System / ServiceModel / Discovery / DiscoveryCallbackBehavior.cs / 1305376 / DiscoveryCallbackBehavior.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.ServiceModel.Discovery { using System.ServiceModel.Channels; using System.ServiceModel.Description; using System.ServiceModel.Dispatcher; class DiscoveryCallbackBehavior : IEndpointBehavior { CallbackBehaviorAttribute innerCallbackBehavior; public DiscoveryCallbackBehavior() { this.innerCallbackBehavior = new CallbackBehaviorAttribute(); this.innerCallbackBehavior.ConcurrencyMode = ConcurrencyMode.Multiple; this.innerCallbackBehavior.UseSynchronizationContext = false; } void IEndpointBehavior.AddBindingParameters(ServiceEndpoint endpoint, BindingParameterCollection bindingParameters) { ((IEndpointBehavior)this.innerCallbackBehavior).AddBindingParameters(endpoint, bindingParameters); } void IEndpointBehavior.ApplyClientBehavior(ServiceEndpoint endpoint, ClientRuntime clientRuntime) { ((IEndpointBehavior)this.innerCallbackBehavior).ApplyClientBehavior(endpoint, clientRuntime); } void IEndpointBehavior.ApplyDispatchBehavior(ServiceEndpoint endpoint, EndpointDispatcher endpointDispatcher) { // no-op on the service side - the InnerCallbackBehavior throws on the service side. } void IEndpointBehavior.Validate(ServiceEndpoint endpoint) { ((IEndpointBehavior)this.innerCallbackBehavior).Validate(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
- SendActivityDesignerTheme.cs
- NonDualMessageSecurityOverHttp.cs
- LinearGradientBrush.cs
- XmlNodeReader.cs
- StringAnimationUsingKeyFrames.cs
- TypeConverterAttribute.cs
- DelayedRegex.cs
- StateManagedCollection.cs
- CollectionViewSource.cs
- GridViewRowPresenterBase.cs
- UpDownEvent.cs
- ISFTagAndGuidCache.cs
- DoubleUtil.cs
- ImageSourceValueSerializer.cs
- ObjectViewQueryResultData.cs
- BitVector32.cs
- Int32AnimationUsingKeyFrames.cs
- ExpressionEditorSheet.cs
- XmlText.cs
- ControlHelper.cs
- ObjectConverter.cs
- CloudCollection.cs
- MultiPartWriter.cs
- DataGridRowHeader.cs
- FilterElement.cs
- X509CertificateCollection.cs
- TcpServerChannel.cs
- ExpandSegmentCollection.cs
- AudioLevelUpdatedEventArgs.cs
- FixedSOMLineCollection.cs
- FontUnitConverter.cs
- PngBitmapEncoder.cs
- Deflater.cs
- ClassData.cs
- DirectionalLight.cs
- WebPartZoneDesigner.cs
- ExtensionFile.cs
- AliasGenerator.cs
- ConfigurationStrings.cs
- CodeDelegateCreateExpression.cs
- FileDataSourceCache.cs
- MessageQuerySet.cs
- ClockGroup.cs
- XmlElementList.cs
- Propagator.JoinPropagator.cs
- TimerElapsedEvenArgs.cs
- Binding.cs
- GridViewPageEventArgs.cs
- DescendantQuery.cs
- Int32CollectionValueSerializer.cs
- DesignerDataSourceView.cs
- TimelineGroup.cs
- Literal.cs
- XmlEncoding.cs
- FixedPageProcessor.cs
- Operator.cs
- BuildProviderCollection.cs
- GeneralTransform2DTo3D.cs
- OutputCacheEntry.cs
- SignatureDescription.cs
- PositiveTimeSpanValidatorAttribute.cs
- ContractUtils.cs
- TextEditorTables.cs
- WebPartEditVerb.cs
- EncodingInfo.cs
- PackWebRequestFactory.cs
- CreateParams.cs
- TypeInfo.cs
- SQLDoubleStorage.cs
- ObjectNotFoundException.cs
- TableLayoutCellPaintEventArgs.cs
- RowCache.cs
- DispatcherEventArgs.cs
- SessionParameter.cs
- DefaultParameterValueAttribute.cs
- BaseCollection.cs
- ColorConvertedBitmap.cs
- ToolStripItemRenderEventArgs.cs
- Control.cs
- HttpRawResponse.cs
- AutomationElementIdentifiers.cs
- Quaternion.cs
- WebPartCatalogAddVerb.cs
- CaseInsensitiveHashCodeProvider.cs
- MemoryMappedViewAccessor.cs
- KeysConverter.cs
- TemplateFactory.cs
- PagesSection.cs
- RoutedEventValueSerializer.cs
- AxHost.cs
- SR.cs
- XmlParserContext.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- InkCanvas.cs
- Hash.cs
- PointCollection.cs
- ResXFileRef.cs
- StringKeyFrameCollection.cs
- SpellCheck.cs
- UnSafeCharBuffer.cs