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
- FrameAutomationPeer.cs
- ContextBase.cs
- Enum.cs
- ListParaClient.cs
- Int16AnimationUsingKeyFrames.cs
- CommandHelpers.cs
- ProfileGroupSettingsCollection.cs
- BuildProvider.cs
- Accessors.cs
- Encoder.cs
- TextRangeProviderWrapper.cs
- IndependentlyAnimatedPropertyMetadata.cs
- StatusBarPanel.cs
- Helpers.cs
- CodeNamespace.cs
- VirtualPath.cs
- OleStrCAMarshaler.cs
- Bezier.cs
- Vertex.cs
- ExtensionFile.cs
- DataObjectFieldAttribute.cs
- XamlSerializationHelper.cs
- DocumentViewerConstants.cs
- ChildTable.cs
- SafeLocalMemHandle.cs
- CookielessHelper.cs
- XmlDataCollection.cs
- _CommandStream.cs
- TextContainerChangedEventArgs.cs
- EntityConnection.cs
- AdornedElementPlaceholder.cs
- Transform3DGroup.cs
- CompilationUtil.cs
- LabelLiteral.cs
- SafeBitVector32.cs
- AppDomainProtocolHandler.cs
- ScrollPattern.cs
- NumberFunctions.cs
- CookieProtection.cs
- DiagnosticStrings.cs
- StringUtil.cs
- NativeWindow.cs
- JsonEnumDataContract.cs
- GlyphingCache.cs
- Menu.cs
- OnOperation.cs
- AudienceUriMode.cs
- SQLCharsStorage.cs
- ExpressionTextBoxAutomationPeer.cs
- InstanceCreationEditor.cs
- RealProxy.cs
- MetaModel.cs
- InkCollectionBehavior.cs
- XmlRootAttribute.cs
- NavigationProperty.cs
- UseManagedPresentationElement.cs
- StrokeNode.cs
- SerialPinChanges.cs
- ActiveXContainer.cs
- WebPartManagerInternals.cs
- TreeViewItem.cs
- CodeAttributeDeclarationCollection.cs
- Task.cs
- NamespaceEmitter.cs
- Model3DCollection.cs
- ObjectDataSourceWizardForm.cs
- NavigationWindow.cs
- DateTimeFormatInfoScanner.cs
- InternalEnumValidator.cs
- SuppressIldasmAttribute.cs
- GetPageCompletedEventArgs.cs
- ScriptBehaviorDescriptor.cs
- VisualStyleRenderer.cs
- WindowsRebar.cs
- LoginDesigner.cs
- ToolStripButton.cs
- ByteRangeDownloader.cs
- DescendantQuery.cs
- SaveFileDialog.cs
- QilStrConcat.cs
- OleDbConnectionInternal.cs
- StringFunctions.cs
- SectionInformation.cs
- ParameterCollection.cs
- FloaterParaClient.cs
- WindowsEditBoxRange.cs
- ClientTargetCollection.cs
- MonthCalendar.cs
- HttpProtocolReflector.cs
- XmlIncludeAttribute.cs
- OpenTypeCommon.cs
- InOutArgumentConverter.cs
- XmlSchemaFacet.cs
- QueryCoreOp.cs
- HeaderedItemsControl.cs
- CodeTypeParameterCollection.cs
- ColorInterpolationModeValidation.cs
- Matrix3D.cs
- BitStack.cs
- TokenizerHelper.cs