Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / Common / AuthoringOM / Behaviors / CompensatableTransactionScopeActivityDesigner.cs / 1305376 / CompensatableTransactionScopeActivityDesigner.cs
namespace System.Workflow.ComponentModel.Design { using System; using System.Drawing; using System.Drawing.Drawing2D; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.ComponentModel.Design; using System.Workflow.ComponentModel.Design; #region Class CompensatableTransactionScopeActivityDesigner internal sealed class CompensatableTransactionScopeActivityDesigner : SequenceDesigner { public override ReadOnlyCollectionViews { get { List views = new List (); foreach (DesignerView view in base.Views) { // disable the exceptions view and cancellation handler view Type activityType = view.UserData[SecondaryView.UserDataKey_ActivityType] as Type; if (activityType != null && !typeof(CancellationHandlerActivity).IsAssignableFrom(activityType) && !typeof(FaultHandlersActivity).IsAssignableFrom(activityType)) { views.Add(view); } } return new ReadOnlyCollection (views); } } } #endregion } // 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
- FormViewDeleteEventArgs.cs
- BitmapSource.cs
- ScriptResourceHandler.cs
- TransformCollection.cs
- DataGridViewRowConverter.cs
- ReflectEventDescriptor.cs
- TextEditorMouse.cs
- WinEventWrap.cs
- PrimaryKeyTypeConverter.cs
- PassportAuthenticationModule.cs
- PathParser.cs
- TextRangeAdaptor.cs
- DbMetaDataCollectionNames.cs
- DataSourceComponent.cs
- FixedPage.cs
- PackageDigitalSignature.cs
- ProfileSection.cs
- PropertyFilterAttribute.cs
- ClipboardProcessor.cs
- EmptyEnumerator.cs
- HelloMessage11.cs
- CodeAttachEventStatement.cs
- HostingEnvironment.cs
- XmlToDatasetMap.cs
- SrgsElementList.cs
- SchemaNamespaceManager.cs
- SqlMetaData.cs
- FeatureSupport.cs
- RenderData.cs
- IOThreadScheduler.cs
- TextDecoration.cs
- LocalizedNameDescriptionPair.cs
- XmlConvert.cs
- XmlSchemaSubstitutionGroup.cs
- StructureChangedEventArgs.cs
- ZipIOCentralDirectoryFileHeader.cs
- DataGridAutomationPeer.cs
- TransformerInfoCollection.cs
- SortDescription.cs
- IgnoreFlushAndCloseStream.cs
- Attributes.cs
- AdRotatorDesigner.cs
- MarkupCompiler.cs
- AttributeTableBuilder.cs
- MetadataItemEmitter.cs
- OpenTypeLayout.cs
- UncommonField.cs
- GenerateHelper.cs
- Currency.cs
- DetailsView.cs
- ServiceBusyException.cs
- Token.cs
- ReadOnlyObservableCollection.cs
- MatrixAnimationUsingKeyFrames.cs
- SaveFileDialog.cs
- UnauthorizedAccessException.cs
- InternalBufferOverflowException.cs
- RegexCode.cs
- TransactionBridge.cs
- DecoratedNameAttribute.cs
- ProfileSettings.cs
- FocusTracker.cs
- ApplicationSettingsBase.cs
- SecurityResources.cs
- Point.cs
- KeyedQueue.cs
- QuinticEase.cs
- Int64Animation.cs
- ObjectResult.cs
- ChineseLunisolarCalendar.cs
- TextStore.cs
- WebPartDisplayModeEventArgs.cs
- SrgsElementList.cs
- TextSimpleMarkerProperties.cs
- Button.cs
- DataGridViewCellStateChangedEventArgs.cs
- RowsCopiedEventArgs.cs
- SectionInformation.cs
- SendActivity.cs
- DependencyObjectProvider.cs
- RemotingServices.cs
- Vector3DCollection.cs
- RefType.cs
- DtrList.cs
- HtmlToClrEventProxy.cs
- LinkDescriptor.cs
- WebMessageEncodingBindingElement.cs
- SkewTransform.cs
- RegexGroup.cs
- BufferBuilder.cs
- Parser.cs
- RedistVersionInfo.cs
- DataColumnMappingCollection.cs
- MouseGestureConverter.cs
- EmbossBitmapEffect.cs
- ArgumentOutOfRangeException.cs
- Column.cs
- ClientSettingsStore.cs
- Substitution.cs
- Base64Decoder.cs