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
- GraphicsPath.cs
- ClipboardProcessor.cs
- LoadRetryConstantStrategy.cs
- RoutedEventHandlerInfo.cs
- SourceSwitch.cs
- BuildManagerHost.cs
- WindowsFormsHost.cs
- RawTextInputReport.cs
- StringInfo.cs
- DomainUpDown.cs
- DynamicResourceExtension.cs
- Translator.cs
- CreateParams.cs
- HandlerBase.cs
- DebugHandleTracker.cs
- ApplicationDirectory.cs
- ViewBox.cs
- DesignerVerbCollection.cs
- AttributedMetaModel.cs
- CompModSwitches.cs
- DictionaryKeyPropertyAttribute.cs
- SafePointer.cs
- Stroke2.cs
- LoginCancelEventArgs.cs
- ToolStripOverflowButton.cs
- RelationshipEndMember.cs
- XamlWriter.cs
- TaskHelper.cs
- UIPropertyMetadata.cs
- Types.cs
- ListViewCancelEventArgs.cs
- CommandConverter.cs
- ErrorWebPart.cs
- CachingHintValidation.cs
- WebDisplayNameAttribute.cs
- Utils.cs
- HashCryptoHandle.cs
- mda.cs
- QueryAccessibilityHelpEvent.cs
- XmlSchemaSimpleContent.cs
- X509PeerCertificateAuthentication.cs
- XmlWriter.cs
- MarkupWriter.cs
- PeerPresenceInfo.cs
- ToolStripMenuItem.cs
- DrawingBrush.cs
- BulletedList.cs
- documentsequencetextcontainer.cs
- EndpointAddress.cs
- Statements.cs
- ContentControl.cs
- SafeProcessHandle.cs
- BitVector32.cs
- DBConnectionString.cs
- SettingsPropertyCollection.cs
- AlignmentYValidation.cs
- Compiler.cs
- CmsUtils.cs
- ProtectedProviderSettings.cs
- QilStrConcatenator.cs
- ValueQuery.cs
- SplitContainerDesigner.cs
- BatchParser.cs
- MachineKeyConverter.cs
- CookieProtection.cs
- ThreadInterruptedException.cs
- BamlResourceContent.cs
- NativeMethods.cs
- TextRunTypographyProperties.cs
- MenuAutomationPeer.cs
- ResourceManager.cs
- FileChangesMonitor.cs
- DbConnectionPoolGroupProviderInfo.cs
- MappingException.cs
- IgnoreDataMemberAttribute.cs
- OdbcEnvironmentHandle.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- RuleDefinitions.cs
- ReadOnlyPropertyMetadata.cs
- QuestionEventArgs.cs
- EpmTargetTree.cs
- MachineKeySection.cs
- GenericWebPart.cs
- SessionStateContainer.cs
- MDIClient.cs
- ObjectStateEntryDbDataRecord.cs
- BatchWriter.cs
- RewritingSimplifier.cs
- ToolStripScrollButton.cs
- DelegatingConfigHost.cs
- ExpressionEditor.cs
- RefreshPropertiesAttribute.cs
- SafeMILHandle.cs
- WebResourceAttribute.cs
- GlyphShapingProperties.cs
- GcHandle.cs
- GridViewCommandEventArgs.cs
- DataServiceContext.cs
- BaseTemplatedMobileComponentEditor.cs
- WindowsFormsSynchronizationContext.cs