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
- DataGridCaption.cs
- SystemSounds.cs
- ArrayHelper.cs
- OrderedDictionaryStateHelper.cs
- XsltArgumentList.cs
- StrongTypingException.cs
- DiscoveryViaBehavior.cs
- ErrorRuntimeConfig.cs
- CLSCompliantAttribute.cs
- DropShadowEffect.cs
- CustomError.cs
- TextSimpleMarkerProperties.cs
- MailMessageEventArgs.cs
- BooleanExpr.cs
- WebResourceUtil.cs
- _ProxyRegBlob.cs
- CompositeControl.cs
- ArgumentException.cs
- ByteConverter.cs
- KeyValuePairs.cs
- HostingEnvironmentException.cs
- GraphicsContext.cs
- DataGridCommandEventArgs.cs
- TemplatedMailWebEventProvider.cs
- ColorMatrix.cs
- DynamicResourceExtension.cs
- XComponentModel.cs
- StrongNameMembershipCondition.cs
- DiscardableAttribute.cs
- PersonalizationEntry.cs
- ReadOnlyDictionary.cs
- SecurityIdentifierElement.cs
- NullableBoolConverter.cs
- ReferentialConstraint.cs
- NodeLabelEditEvent.cs
- safesecurityhelperavalon.cs
- BigInt.cs
- IntSecurity.cs
- ToolStripContextMenu.cs
- HttpCapabilitiesBase.cs
- AppDomainUnloadedException.cs
- XmlSerializerVersionAttribute.cs
- AsnEncodedData.cs
- dbenumerator.cs
- CodeTypeDeclarationCollection.cs
- EUCJPEncoding.cs
- ProtocolsConfigurationHandler.cs
- SocketException.cs
- EditingScope.cs
- StringUtil.cs
- SmiSettersStream.cs
- MachineKeyConverter.cs
- PhysicalOps.cs
- TextSyndicationContentKindHelper.cs
- SettingsPropertyValueCollection.cs
- regiisutil.cs
- SafeNativeMethods.cs
- DefaultValidator.cs
- ThreadLocal.cs
- COM2TypeInfoProcessor.cs
- SessionParameter.cs
- TargetControlTypeCache.cs
- StorageSetMapping.cs
- PrintDialog.cs
- SyndicationSerializer.cs
- Root.cs
- XmlILAnnotation.cs
- ConstraintEnumerator.cs
- XmlResolver.cs
- MetaTable.cs
- ContractDescription.cs
- ServiceBusyException.cs
- DataObjectAttribute.cs
- ExpressionList.cs
- DataContractJsonSerializerOperationFormatter.cs
- GetCertificateRequest.cs
- XPathItem.cs
- InputQueue.cs
- Control.cs
- ConfigurationManagerInternalFactory.cs
- TypeExtensionSerializer.cs
- DSACryptoServiceProvider.cs
- BitmapEffectGeneralTransform.cs
- ChineseLunisolarCalendar.cs
- IpcClientManager.cs
- PersistChildrenAttribute.cs
- SpeechEvent.cs
- BamlBinaryReader.cs
- UpdateEventArgs.cs
- Ref.cs
- SerializableAttribute.cs
- CheckBox.cs
- Roles.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- SiteMap.cs
- SystemUdpStatistics.cs
- ProgressBarBrushConverter.cs
- XmlDocumentViewSchema.cs
- SqlBooleanMismatchVisitor.cs
- ReferencedCollectionType.cs