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
- StrokeSerializer.cs
- ZipIOLocalFileBlock.cs
- HostedController.cs
- DataGridRow.cs
- BitmapEffectGeneralTransform.cs
- CompilationSection.cs
- TextDpi.cs
- CreateUserWizard.cs
- X509Utils.cs
- ScriptingProfileServiceSection.cs
- LoadItemsEventArgs.cs
- QilScopedVisitor.cs
- ControlDesigner.cs
- AssertUtility.cs
- ScriptManagerProxy.cs
- FromRequest.cs
- PerspectiveCamera.cs
- WeakReferenceEnumerator.cs
- DataGridViewImageCell.cs
- NumberFunctions.cs
- ServiceAppDomainAssociationProvider.cs
- ConfigsHelper.cs
- DSACryptoServiceProvider.cs
- ErrorHandler.cs
- Debug.cs
- XmlTextReader.cs
- DateTimeFormatInfoScanner.cs
- BindingCollection.cs
- ItemChangedEventArgs.cs
- ReadOnlyMetadataCollection.cs
- WindowsSecurityTokenAuthenticator.cs
- SafeFileMapViewHandle.cs
- TypeForwardedToAttribute.cs
- UserInitiatedNavigationPermission.cs
- TraceHandlerErrorFormatter.cs
- XmlSchemaGroup.cs
- TextElementAutomationPeer.cs
- XmlNotation.cs
- TCPListener.cs
- ListBoxItemAutomationPeer.cs
- PropertyTab.cs
- PropertyChangeTracker.cs
- X509Utils.cs
- ServerReliableChannelBinder.cs
- ModelTreeEnumerator.cs
- TcpAppDomainProtocolHandler.cs
- EventSourceCreationData.cs
- RowParagraph.cs
- NaturalLanguageHyphenator.cs
- BitmapFrameDecode.cs
- NetworkAddressChange.cs
- BuildProvidersCompiler.cs
- WindowsGraphics2.cs
- SelectionProcessor.cs
- EntityUtil.cs
- OracleTransaction.cs
- SmiContext.cs
- QilFactory.cs
- InkCanvasInnerCanvas.cs
- DropDownList.cs
- ReliabilityContractAttribute.cs
- AutoCompleteStringCollection.cs
- TypeDependencyAttribute.cs
- ValidationPropertyAttribute.cs
- XmlAtomErrorReader.cs
- SqlDependencyUtils.cs
- SpAudioStreamWrapper.cs
- WebExceptionStatus.cs
- ViewManagerAttribute.cs
- TabletDeviceInfo.cs
- TransactionBehavior.cs
- Token.cs
- XmlAttribute.cs
- PermissionSet.cs
- NavigationProgressEventArgs.cs
- UnsafeNativeMethods.cs
- InstancePersistenceException.cs
- HierarchicalDataTemplate.cs
- EnumerableRowCollectionExtensions.cs
- TransactionFormatter.cs
- TimeStampChecker.cs
- Rotation3DAnimation.cs
- CrossContextChannel.cs
- XNodeNavigator.cs
- XslException.cs
- FormClosedEvent.cs
- DataSourceXmlSerializer.cs
- NativeMethods.cs
- TypeInitializationException.cs
- FixUp.cs
- StylusButtonCollection.cs
- ListSurrogate.cs
- TreeViewHitTestInfo.cs
- TreeView.cs
- Reference.cs
- ToolStripPanelRow.cs
- MsmqHostedTransportManager.cs
- XmlSchemaObject.cs
- ObjectRef.cs
- ByteConverter.cs