Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Dispatcher / OperationInvokerBehavior.cs / 1 / OperationInvokerBehavior.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Dispatcher { using System.Collections.Generic; using System.ServiceModel.Channels; using System.ServiceModel.Description; class OperationInvokerBehavior : IOperationBehavior { public OperationInvokerBehavior() { } void IOperationBehavior.Validate(OperationDescription description) { } void IOperationBehavior.AddBindingParameters(OperationDescription description, BindingParameterCollection parameters) { } void IOperationBehavior.ApplyDispatchBehavior(OperationDescription description, DispatchOperation dispatch) { if (dispatch == null) throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("dispatch"); //Always favor the synchronous implementation if (description.SyncMethod != null) dispatch.Invoker = new SyncMethodInvoker(description.SyncMethod); else if (description.BeginMethod != null) dispatch.Invoker = new AsyncMethodInvoker(description.BeginMethod, description.EndMethod); } void IOperationBehavior.ApplyClientBehavior(OperationDescription description, ClientOperation proxy) { } } } // 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
- querybuilder.cs
- CodeSnippetExpression.cs
- EventWaitHandle.cs
- EditorReuseAttribute.cs
- URLAttribute.cs
- PageResolution.cs
- Lasso.cs
- FontStretches.cs
- TypeConverterAttribute.cs
- GridViewHeaderRowPresenter.cs
- Reference.cs
- DoubleAnimation.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- Opcode.cs
- AddInBase.cs
- ScalarOps.cs
- ExpressionList.cs
- DbConnectionPoolGroup.cs
- OdbcHandle.cs
- XmlSignificantWhitespace.cs
- ParameterBuilder.cs
- WebConfigurationManager.cs
- SoapParser.cs
- Attribute.cs
- WebPartVerbsEventArgs.cs
- PackageFilter.cs
- ConstraintCollection.cs
- MergeFailedEvent.cs
- MediaTimeline.cs
- RefreshPropertiesAttribute.cs
- BinaryUtilClasses.cs
- HotSpot.cs
- StreamInfo.cs
- DeferredReference.cs
- EmptyCollection.cs
- ManifestResourceInfo.cs
- KeyTimeConverter.cs
- XNodeNavigator.cs
- KeysConverter.cs
- MulticastIPAddressInformationCollection.cs
- StylusButtonCollection.cs
- CmsUtils.cs
- sqlinternaltransaction.cs
- LambdaCompiler.Generated.cs
- GridViewSelectEventArgs.cs
- OleDbException.cs
- ScriptResourceAttribute.cs
- DesignerSerializationManager.cs
- XsltQilFactory.cs
- ImageBrush.cs
- PartialTrustVisibleAssembliesSection.cs
- DesignerEventService.cs
- HwndSubclass.cs
- FirstMatchCodeGroup.cs
- TextLineBreak.cs
- AutomationPattern.cs
- StructuredType.cs
- TripleDES.cs
- ModelChangedEventArgsImpl.cs
- AccessViolationException.cs
- DocumentOutline.cs
- FirstMatchCodeGroup.cs
- PathTooLongException.cs
- Viewport3DAutomationPeer.cs
- Int32KeyFrameCollection.cs
- ComponentChangedEvent.cs
- ErrorFormatter.cs
- MulticastIPAddressInformationCollection.cs
- NativeMethods.cs
- IncrementalReadDecoders.cs
- CommandManager.cs
- ToolboxComponentsCreatingEventArgs.cs
- EpmSourcePathSegment.cs
- FontUnitConverter.cs
- ClientSideQueueItem.cs
- DataQuery.cs
- DirectoryInfo.cs
- XmlTextReaderImpl.cs
- BindUriHelper.cs
- DeviceSpecificDialogCachedState.cs
- SmtpDigestAuthenticationModule.cs
- AnnotationResource.cs
- SimplePropertyEntry.cs
- Byte.cs
- SourceFilter.cs
- WebPartDesigner.cs
- ISAPIWorkerRequest.cs
- ResXFileRef.cs
- MasterPage.cs
- SpanIndex.cs
- ReliabilityContractAttribute.cs
- _HeaderInfoTable.cs
- TextSelectionHelper.cs
- DataGridCellsPresenter.cs
- XmlMapping.cs
- RequestCachePolicy.cs
- RegisteredArrayDeclaration.cs
- BindingExpressionUncommonField.cs
- PathGeometry.cs
- DoubleAnimationUsingPath.cs