Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.ServiceModel.Routing / System / ServiceModel / Routing / GenericTransactionFlowAttribute.cs / 1305376 / GenericTransactionFlowAttribute.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.ServiceModel.Routing { using System; using System.Collections.Generic; using System.ServiceModel.Channels; using System.ServiceModel.Description; using System.ServiceModel.Dispatcher; sealed class GenericTransactionFlowAttribute : Attribute, IOperationBehavior { TransactionFlowAttribute transactionFlowAttribute; public GenericTransactionFlowAttribute(TransactionFlowOption flowOption) { this.transactionFlowAttribute = new TransactionFlowAttribute(flowOption); } void IOperationBehavior.AddBindingParameters(OperationDescription operationDescription, BindingParameterCollection bindingParameters) { ((IOperationBehavior)this.transactionFlowAttribute).AddBindingParameters(operationDescription, bindingParameters); } void IOperationBehavior.ApplyClientBehavior(OperationDescription operationDescription, ClientOperation clientOperation) { ((IOperationBehavior)this.transactionFlowAttribute).ApplyClientBehavior(operationDescription, clientOperation); } void IOperationBehavior.ApplyDispatchBehavior(OperationDescription operationDescription, DispatchOperation dispatchOperation) { ((IOperationBehavior)this.transactionFlowAttribute).ApplyDispatchBehavior(operationDescription, dispatchOperation); } void IOperationBehavior.Validate(OperationDescription operationDescription) { ((IOperationBehavior)this.transactionFlowAttribute).Validate(operationDescription); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StronglyTypedResourceBuilder.cs
- WmiPutTraceRecord.cs
- ImmutableClientRuntime.cs
- TrackPointCollection.cs
- UnsafeNativeMethods.cs
- Byte.cs
- SqlDataSourceSelectingEventArgs.cs
- BindingMAnagerBase.cs
- ItemType.cs
- HelpProvider.cs
- Literal.cs
- BitmapEditor.cs
- BackgroundWorker.cs
- WindowShowOrOpenTracker.cs
- webeventbuffer.cs
- HelpInfo.cs
- ClientConfigurationSystem.cs
- DispatcherExceptionFilterEventArgs.cs
- Dictionary.cs
- HtmlForm.cs
- UICuesEvent.cs
- NamedElement.cs
- FacetEnabledSchemaElement.cs
- Pair.cs
- DbProviderFactoriesConfigurationHandler.cs
- DataGridViewCellStyleChangedEventArgs.cs
- DBPropSet.cs
- ZoneButton.cs
- AccessibleObject.cs
- WhitespaceRuleLookup.cs
- ToolStripStatusLabel.cs
- AnnotationAdorner.cs
- AdjustableArrowCap.cs
- _SingleItemRequestCache.cs
- Image.cs
- ToolboxItemLoader.cs
- AlternateView.cs
- MapPathBasedVirtualPathProvider.cs
- Attributes.cs
- Point3DKeyFrameCollection.cs
- thaishape.cs
- EditingMode.cs
- BitmapEncoder.cs
- CharConverter.cs
- RuntimeWrappedException.cs
- SqlBinder.cs
- HttpApplication.cs
- ResourceProperty.cs
- LinkDesigner.cs
- HtmlInputCheckBox.cs
- RegexCode.cs
- ParameterCollection.cs
- DllHostInitializer.cs
- NavigatorInput.cs
- XamlReaderHelper.cs
- SamlEvidence.cs
- ConvertersCollection.cs
- ProcessModelSection.cs
- TextProperties.cs
- TypeGeneratedEventArgs.cs
- BaseContextMenu.cs
- TextSimpleMarkerProperties.cs
- TextElement.cs
- WindowsListViewItemCheckBox.cs
- BitmapDownload.cs
- MailSettingsSection.cs
- DependencyPropertyDescriptor.cs
- AttachmentCollection.cs
- PerformanceCountersElement.cs
- UnhandledExceptionEventArgs.cs
- ExportOptions.cs
- ManagedWndProcTracker.cs
- UnsafeNetInfoNativeMethods.cs
- InternalDispatchObject.cs
- InvalidCommandTreeException.cs
- PropertyRef.cs
- ThicknessAnimationBase.cs
- SafeTimerHandle.cs
- Qualifier.cs
- X509Certificate.cs
- COM2ColorConverter.cs
- Tag.cs
- PanelStyle.cs
- MarkupObject.cs
- ExternalDataExchangeClient.cs
- CodeGotoStatement.cs
- MarkupCompilePass1.cs
- MenuTracker.cs
- ISFClipboardData.cs
- BezierSegment.cs
- CodeExpressionCollection.cs
- SqlWebEventProvider.cs
- TriggerCollection.cs
- Popup.cs
- AccessViolationException.cs
- HttpRequest.cs
- Hex.cs
- IndexedString.cs
- AlphabeticalEnumConverter.cs
- DBParameter.cs