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
- StringAttributeCollection.cs
- CodeSubDirectory.cs
- StartUpEventArgs.cs
- QilStrConcat.cs
- ElementHostAutomationPeer.cs
- ApplicationServiceHelper.cs
- ArrayList.cs
- ThrowHelper.cs
- DispatcherExceptionFilterEventArgs.cs
- TriggerBase.cs
- RbTree.cs
- DataViewListener.cs
- StyleConverter.cs
- HandlerWithFactory.cs
- InheritedPropertyDescriptor.cs
- ImmutableObjectAttribute.cs
- BitmapFrameDecode.cs
- RequestSecurityTokenForRemoteTokenFactory.cs
- JsonXmlDataContract.cs
- VirtualPathProvider.cs
- FixedSOMSemanticBox.cs
- StyleCollection.cs
- DataControlButton.cs
- RegexReplacement.cs
- initElementDictionary.cs
- RichTextBoxContextMenu.cs
- GeometryCombineModeValidation.cs
- SiteMapSection.cs
- CharEnumerator.cs
- StringUtil.cs
- _IPv6Address.cs
- EntitySqlQueryState.cs
- MDIClient.cs
- XomlCompiler.cs
- BigInt.cs
- FrameworkEventSource.cs
- COM2ExtendedUITypeEditor.cs
- SimpleBitVector32.cs
- DbConnectionPoolGroupProviderInfo.cs
- MsmqOutputSessionChannel.cs
- SessionStateModule.cs
- SchemaImporter.cs
- DataSourceCollectionBase.cs
- TypeExtensions.cs
- HtmlPageAdapter.cs
- _UriTypeConverter.cs
- TextFindEngine.cs
- XmlSubtreeReader.cs
- InvokeMethodActivityDesigner.cs
- CategoryGridEntry.cs
- Deflater.cs
- WindowsPen.cs
- MatrixTransform.cs
- ReachPrintTicketSerializerAsync.cs
- ControlType.cs
- AssemblyNameProxy.cs
- TiffBitmapEncoder.cs
- SpecialNameAttribute.cs
- XmlSchemaGroupRef.cs
- ConfigurationSchemaErrors.cs
- ConnectionManagementSection.cs
- SortDescription.cs
- PageContentAsyncResult.cs
- CategoryValueConverter.cs
- TransformedBitmap.cs
- TraceListener.cs
- BaseServiceProvider.cs
- SchemaElement.cs
- PeerPresenceInfo.cs
- ListItemConverter.cs
- SelectionRangeConverter.cs
- ObjectItemNoOpAssemblyLoader.cs
- LinkLabel.cs
- HttpRuntimeSection.cs
- EmissiveMaterial.cs
- BindingExpressionBase.cs
- FieldToken.cs
- TraceInternal.cs
- SchemaConstraints.cs
- SelectedDatesCollection.cs
- FileDataSourceCache.cs
- HttpGetClientProtocol.cs
- RSAOAEPKeyExchangeDeformatter.cs
- WebEventTraceProvider.cs
- DrawTreeNodeEventArgs.cs
- AsnEncodedData.cs
- MD5.cs
- COM2TypeInfoProcessor.cs
- InitializationEventAttribute.cs
- CustomAttributeBuilder.cs
- Switch.cs
- Pts.cs
- WebControlAdapter.cs
- HtmlInputReset.cs
- TimerEventSubscription.cs
- DbCommandDefinition.cs
- ProjectionCamera.cs
- CapabilitiesSection.cs
- NumericUpDownAcceleration.cs
- UdpTransportBindingElement.cs