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
- DataFieldCollectionEditor.cs
- ZoneButton.cs
- assertwrapper.cs
- StorageConditionPropertyMapping.cs
- X509Certificate2.cs
- RequestResizeEvent.cs
- X509Certificate.cs
- KnownTypes.cs
- HiddenField.cs
- RedistVersionInfo.cs
- SafeNativeMethods.cs
- PageBreakRecord.cs
- ActivityStatusChangeEventArgs.cs
- RealizationContext.cs
- EntityViewContainer.cs
- DbProviderConfigurationHandler.cs
- assertwrapper.cs
- TemplateBindingExtensionConverter.cs
- TextTreeText.cs
- SafeNativeMethodsMilCoreApi.cs
- RuntimeConfig.cs
- FieldBuilder.cs
- DispatchWrapper.cs
- ProjectionPath.cs
- CheckBoxPopupAdapter.cs
- ArraySegment.cs
- ExpressionSelection.cs
- ExpressionBindingCollection.cs
- UrlPath.cs
- BamlTreeNode.cs
- Helpers.cs
- EmbeddedMailObjectsCollection.cs
- GenerateHelper.cs
- SQLMoney.cs
- AudioStateChangedEventArgs.cs
- Publisher.cs
- EmbeddedMailObject.cs
- ControlAdapter.cs
- AttributeEmitter.cs
- SecurityHelper.cs
- DesignerMetadata.cs
- Wizard.cs
- SplineKeyFrames.cs
- LayoutInformation.cs
- WebConfigurationHostFileChange.cs
- RootProfilePropertySettingsCollection.cs
- SystemColors.cs
- InkCanvas.cs
- Visitors.cs
- PointHitTestResult.cs
- PointCollectionConverter.cs
- ClusterRegistryConfigurationProvider.cs
- MaterialCollection.cs
- DiscoveryClientProtocol.cs
- CurrentTimeZone.cs
- PointAnimationClockResource.cs
- ContentPlaceHolder.cs
- ComboBoxItem.cs
- ListViewGroupConverter.cs
- ServiceInstallComponent.cs
- KnownColorTable.cs
- HandlerBase.cs
- TimeEnumHelper.cs
- ProxyFragment.cs
- SingleAnimationUsingKeyFrames.cs
- InheritedPropertyDescriptor.cs
- ButtonColumn.cs
- DataServiceClientException.cs
- ProjectionPlanCompiler.cs
- TaiwanCalendar.cs
- XmlWhitespace.cs
- XmlDsigSep2000.cs
- WindowsToolbarAsMenu.cs
- EntityContainerEntitySetDefiningQuery.cs
- DES.cs
- RtfControlWordInfo.cs
- ValidationHelper.cs
- BitmapPalette.cs
- InstanceCreationEditor.cs
- EncodedStreamFactory.cs
- SynchronizedInputProviderWrapper.cs
- Serializer.cs
- WebServiceMethodData.cs
- CodeNamespaceCollection.cs
- SimpleWorkerRequest.cs
- StreamResourceInfo.cs
- SymbolDocumentInfo.cs
- SafeNativeMethodsCLR.cs
- InteropBitmapSource.cs
- DataGridViewSortCompareEventArgs.cs
- ComplexBindingPropertiesAttribute.cs
- MatrixCamera.cs
- DesignerTransactionCloseEvent.cs
- TranslateTransform3D.cs
- TypeSystem.cs
- FactoryMaker.cs
- EntityDescriptor.cs
- BackEase.cs
- ClearTypeHintValidation.cs
- FixedSOMElement.cs