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
- ComplexType.cs
- Pair.cs
- DetailsViewUpdateEventArgs.cs
- sqlmetadatafactory.cs
- EventMemberCodeDomSerializer.cs
- XhtmlBasicCalendarAdapter.cs
- ParamArrayAttribute.cs
- CompositeDispatchFormatter.cs
- FrameworkPropertyMetadata.cs
- HostingEnvironment.cs
- EntityDataSourceQueryBuilder.cs
- BulletedListEventArgs.cs
- VirtualDirectoryMappingCollection.cs
- LinqDataSourceContextEventArgs.cs
- FunctionQuery.cs
- NetStream.cs
- ImageAnimator.cs
- StyleModeStack.cs
- ConstructorExpr.cs
- CharStorage.cs
- Size3D.cs
- BufferedMessageWriter.cs
- HttpResponseWrapper.cs
- XmlMemberMapping.cs
- CodeComment.cs
- ObjectStateFormatter.cs
- ContainerParaClient.cs
- MultiView.cs
- ArraySubsetEnumerator.cs
- DiffuseMaterial.cs
- NavigationCommands.cs
- ScriptResourceHandler.cs
- PathGradientBrush.cs
- Vector3DCollection.cs
- ReadOnlyMetadataCollection.cs
- BufferModeSettings.cs
- DataGridTextBox.cs
- DataControlFieldCell.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- Rect.cs
- Line.cs
- SqlNotificationRequest.cs
- AvTraceDetails.cs
- DesignTimeSiteMapProvider.cs
- login.cs
- GeometryConverter.cs
- NewExpression.cs
- ParsedAttributeCollection.cs
- FilterException.cs
- RepeaterDesigner.cs
- Button.cs
- ReaderWriterLock.cs
- XPathParser.cs
- UnionExpr.cs
- ReflectionUtil.cs
- ParameterCollection.cs
- returneventsaver.cs
- PairComparer.cs
- AutoResetEvent.cs
- _LazyAsyncResult.cs
- HttpApplicationFactory.cs
- ThemeableAttribute.cs
- RecognitionResult.cs
- WebConfigurationManager.cs
- RelatedEnd.cs
- HttpResponseBase.cs
- Interlocked.cs
- SqlUDTStorage.cs
- CapabilitiesAssignment.cs
- ListParagraph.cs
- GradientBrush.cs
- SimpleApplicationHost.cs
- Peer.cs
- EventSetterHandlerConverter.cs
- WrappingXamlSchemaContext.cs
- KeyBinding.cs
- PtsHost.cs
- ToolStripPanelRow.cs
- ObjectConverter.cs
- LoadedEvent.cs
- TiffBitmapDecoder.cs
- SafeLocalAllocation.cs
- DynamicMethod.cs
- WebControlParameterProxy.cs
- ApplicationServiceManager.cs
- FixedSOMTable.cs
- OutputCacheModule.cs
- PageHandlerFactory.cs
- DocumentViewerBaseAutomationPeer.cs
- TimeSpanValidator.cs
- FtpWebRequest.cs
- ScrollItemPattern.cs
- StreamWithDictionary.cs
- ServiceOperation.cs
- DataControlFieldCollection.cs
- Span.cs
- WorkflowInstanceTerminatedRecord.cs
- unsafenativemethodsother.cs
- CellTreeNodeVisitors.cs
- ToolStripDropDownButton.cs