Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Description / SynchronousReceiveBehavior.cs / 1 / SynchronousReceiveBehavior.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel.Description { using System.ServiceModel; using System.ServiceModel.Dispatcher; using System.ServiceModel.Channels; public class SynchronousReceiveBehavior : IEndpointBehavior { public SynchronousReceiveBehavior() { } void IEndpointBehavior.Validate(ServiceEndpoint serviceEndpoint) { } void IEndpointBehavior.AddBindingParameters(ServiceEndpoint serviceEndpoint, BindingParameterCollection parameters) { } void IEndpointBehavior.ApplyDispatchBehavior(ServiceEndpoint serviceEndpoint, EndpointDispatcher endpointDispatcher) { if (endpointDispatcher == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("endpointDispatcher"); } endpointDispatcher.ChannelDispatcher.ReceiveSynchronously = true; } void IEndpointBehavior.ApplyClientBehavior(ServiceEndpoint serviceEndpoint, ClientRuntime behavior) { } } } // 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
- MetadataItemCollectionFactory.cs
- MemberRelationshipService.cs
- QueryOutputWriter.cs
- Switch.cs
- DockAndAnchorLayout.cs
- Helper.cs
- StoreContentChangedEventArgs.cs
- QueryCacheManager.cs
- SQLMoney.cs
- MouseOverProperty.cs
- NavigatorInput.cs
- PersonalizationProviderHelper.cs
- SponsorHelper.cs
- QilGenerator.cs
- LicenseProviderAttribute.cs
- UIElementCollection.cs
- NumericUpDownAccelerationCollection.cs
- TextChange.cs
- MeasureItemEvent.cs
- cache.cs
- GridViewUpdateEventArgs.cs
- SortableBindingList.cs
- DataGridRowHeaderAutomationPeer.cs
- CachedCompositeFamily.cs
- CompositionDesigner.cs
- DoubleCollection.cs
- StrongNameMembershipCondition.cs
- EditBehavior.cs
- ShaderEffect.cs
- KeyValuePairs.cs
- SamlSerializer.cs
- InfoCardX509Validator.cs
- GridViewUpdateEventArgs.cs
- UserControl.cs
- DefaultBindingPropertyAttribute.cs
- FamilyMapCollection.cs
- ContractType.cs
- EventBuilder.cs
- StringAnimationBase.cs
- DurableInstance.cs
- StrongTypingException.cs
- RegexWorker.cs
- ToolStripContainer.cs
- InfoCardHelper.cs
- ListViewGroupConverter.cs
- LockedAssemblyCache.cs
- ImportCatalogPart.cs
- TextTabProperties.cs
- HijriCalendar.cs
- DataGridViewBand.cs
- BindableAttribute.cs
- KnownBoxes.cs
- CreateUserErrorEventArgs.cs
- SqlResolver.cs
- QueryHandler.cs
- ExpressionLexer.cs
- TimerTable.cs
- BaseConfigurationRecord.cs
- BufferModeSettings.cs
- TypeConverterAttribute.cs
- XMLUtil.cs
- Asn1IntegerConverter.cs
- BindingContext.cs
- ErrorHandlingReceiver.cs
- CacheSection.cs
- ContentValidator.cs
- MexHttpsBindingElement.cs
- StrongNameMembershipCondition.cs
- DataTemplateSelector.cs
- PreviewControlDesigner.cs
- InputMethodStateTypeInfo.cs
- NonVisualControlAttribute.cs
- UnsafeNativeMethodsTablet.cs
- StateMachineSubscription.cs
- ExpressionBuilder.cs
- CurrencyWrapper.cs
- SafeNativeMethods.cs
- UrlMappingsModule.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- IChannel.cs
- MouseGesture.cs
- SelectionWordBreaker.cs
- ContentValidator.cs
- EntityDataSourceSelectingEventArgs.cs
- HitTestParameters3D.cs
- TemplateBamlTreeBuilder.cs
- HwndAppCommandInputProvider.cs
- Buffer.cs
- GenerateTemporaryAssemblyTask.cs
- ToolStripDropDownMenu.cs
- QueryExtender.cs
- CodeDOMProvider.cs
- ListDictionary.cs
- PropertyChangedEventManager.cs
- AuthenticationService.cs
- DisplayNameAttribute.cs
- ScriptManager.cs
- WindowsGraphics.cs
- ForeignKeyConstraint.cs
- assertwrapper.cs