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
- RuntimeConfig.cs
- EncodingNLS.cs
- PingOptions.cs
- XmlEventCache.cs
- BitmapEffectRenderDataResource.cs
- NetworkCredential.cs
- WebDescriptionAttribute.cs
- GeneralTransform3DGroup.cs
- BaseCodeDomTreeGenerator.cs
- PropertyPushdownHelper.cs
- ReaderWriterLockWrapper.cs
- DataBindEngine.cs
- StateRuntime.cs
- DataGridViewLinkColumn.cs
- FunctionNode.cs
- ListViewItem.cs
- XmlParserContext.cs
- XsdCachingReader.cs
- NotImplementedException.cs
- TreeNodeEventArgs.cs
- JsonWriter.cs
- Package.cs
- SimpleLine.cs
- LocalizedNameDescriptionPair.cs
- Rect.cs
- WindowsFont.cs
- PathFigureCollectionValueSerializer.cs
- RIPEMD160Managed.cs
- X509CertificateCollection.cs
- CacheAxisQuery.cs
- PageCatalogPart.cs
- counter.cs
- InputScopeManager.cs
- SelectionProviderWrapper.cs
- InterleavedZipPartStream.cs
- SrgsRule.cs
- StylusDownEventArgs.cs
- ParentUndoUnit.cs
- SQLDateTime.cs
- SafeEventLogReadHandle.cs
- MemberRelationshipService.cs
- EnterpriseServicesHelper.cs
- FileFormatException.cs
- RootBrowserWindowAutomationPeer.cs
- XmlDocument.cs
- MetadataUtilsSmi.cs
- __ComObject.cs
- Int32Storage.cs
- TextTreeText.cs
- XmlDocumentFieldSchema.cs
- VisualBrush.cs
- Bezier.cs
- IriParsingElement.cs
- SystemWebSectionGroup.cs
- MsdtcWrapper.cs
- PerformanceCounterLib.cs
- UniqueIdentifierService.cs
- AssemblyContextControlItem.cs
- CaseCqlBlock.cs
- EditCommandColumn.cs
- Bitmap.cs
- StrongTypingException.cs
- EntityDescriptor.cs
- GeometryHitTestParameters.cs
- AssemblyAssociatedContentFileAttribute.cs
- SqlDataAdapter.cs
- SrgsOneOf.cs
- ViewCellSlot.cs
- MetadataArtifactLoaderCompositeResource.cs
- OleDbFactory.cs
- DropDownButton.cs
- ButtonBaseAutomationPeer.cs
- ScopedMessagePartSpecification.cs
- StylusPoint.cs
- IsolationInterop.cs
- GenericParameterDataContract.cs
- JsonDataContract.cs
- HttpGetProtocolImporter.cs
- DocumentViewerAutomationPeer.cs
- DataServiceQueryException.cs
- ImageList.cs
- CodeAssignStatement.cs
- Soap.cs
- ReadOnlyMetadataCollection.cs
- DropShadowEffect.cs
- ValuePattern.cs
- ButtonBaseDesigner.cs
- DesignSurface.cs
- BuilderPropertyEntry.cs
- FormsAuthenticationModule.cs
- SignedXml.cs
- ConnectionStringSettingsCollection.cs
- ValidationHelper.cs
- TextEffect.cs
- SystemFonts.cs
- BaseCollection.cs
- Int32CollectionConverter.cs
- DragAssistanceManager.cs
- WindowAutomationPeer.cs
- ExternalFile.cs