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
- MediaElement.cs
- DispatcherHookEventArgs.cs
- CustomCategoryAttribute.cs
- XamlFrame.cs
- TextContainerChangeEventArgs.cs
- CodeAttachEventStatement.cs
- XmlSchema.cs
- DynamicMethod.cs
- StoragePropertyMapping.cs
- ColumnReorderedEventArgs.cs
- httpstaticobjectscollection.cs
- DurableTimerExtension.cs
- NamespaceCollection.cs
- ExceptionUtil.cs
- SupportsEventValidationAttribute.cs
- DataGridViewDataConnection.cs
- EncoderReplacementFallback.cs
- FixedTextContainer.cs
- CryptoHelper.cs
- ITextView.cs
- ImageMap.cs
- ServiceDiscoveryElement.cs
- StreamAsIStream.cs
- WorkflowApplicationUnloadedException.cs
- AsyncMethodInvoker.cs
- FontStretch.cs
- xmlglyphRunInfo.cs
- XmlSchemaAnnotation.cs
- ParseChildrenAsPropertiesAttribute.cs
- HttpResponseHeader.cs
- WebPartMenu.cs
- COM2AboutBoxPropertyDescriptor.cs
- _AutoWebProxyScriptEngine.cs
- EventMappingSettingsCollection.cs
- RouteCollection.cs
- TitleStyle.cs
- uribuilder.cs
- PostBackOptions.cs
- XPathItem.cs
- IfAction.cs
- DependencySource.cs
- RectIndependentAnimationStorage.cs
- IncrementalCompileAnalyzer.cs
- FrameworkElementAutomationPeer.cs
- ProtocolImporter.cs
- EventLogEntry.cs
- PageContent.cs
- BoundColumn.cs
- EntityCollection.cs
- DES.cs
- ParsedAttributeCollection.cs
- WebPartDisplayModeCancelEventArgs.cs
- VerificationException.cs
- GeneratedCodeAttribute.cs
- EnlistmentState.cs
- WindowsGrip.cs
- WebBrowserNavigatedEventHandler.cs
- Literal.cs
- FormatConvertedBitmap.cs
- OperationBehaviorAttribute.cs
- ListParagraph.cs
- SpeechAudioFormatInfo.cs
- ThreadPoolTaskScheduler.cs
- SingleSelectRootGridEntry.cs
- DataGridViewCellStyleConverter.cs
- HttpBrowserCapabilitiesWrapper.cs
- BaseDataListDesigner.cs
- InternalEnumValidator.cs
- HashHelper.cs
- WindowsScroll.cs
- precedingsibling.cs
- ProfileGroupSettingsCollection.cs
- CustomAttributeBuilder.cs
- GregorianCalendarHelper.cs
- TypeConstant.cs
- DateTimeValueSerializerContext.cs
- PlatformNotSupportedException.cs
- HtmlTable.cs
- GeneratedView.cs
- DoubleCollectionConverter.cs
- ToolStripProgressBar.cs
- AccessControlList.cs
- ObjectViewEntityCollectionData.cs
- _DigestClient.cs
- oledbmetadatacollectionnames.cs
- ProxyWebPartManager.cs
- DataControlFieldCell.cs
- PointAnimationUsingKeyFrames.cs
- WindowsListBox.cs
- StrongNameKeyPair.cs
- RectAnimationBase.cs
- QueryFunctions.cs
- Vector3DAnimationBase.cs
- MenuItemStyleCollectionEditor.cs
- NativeMethodsCLR.cs
- OperationPerformanceCounters.cs
- DataTablePropertyDescriptor.cs
- ErrorWrapper.cs
- IdentityNotMappedException.cs
- ScrollEvent.cs