Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / Common / AuthoringOM / Behaviors / TransactionScopeDesigner.cs / 1305376 / TransactionScopeDesigner.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 TransactionScopeActivityDesigner internal sealed class TransactionScopeActivityDesigner : 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
- Graph.cs
- XmlProcessingInstruction.cs
- ExtensionQuery.cs
- StringAnimationUsingKeyFrames.cs
- Image.cs
- XmlCountingReader.cs
- TemplatedWizardStep.cs
- HandleCollector.cs
- _HelperAsyncResults.cs
- RtfToXamlLexer.cs
- ResourceAssociationTypeEnd.cs
- WS2007FederationHttpBindingElement.cs
- HtmlObjectListAdapter.cs
- SingleObjectCollection.cs
- URIFormatException.cs
- Module.cs
- RootProfilePropertySettingsCollection.cs
- AssemblyInfo.cs
- ButtonPopupAdapter.cs
- StaticDataManager.cs
- ComAwareEventInfo.cs
- ScriptReferenceBase.cs
- ListBoxItem.cs
- Point3DKeyFrameCollection.cs
- SQLInt64.cs
- ChannelOptions.cs
- MatrixAnimationBase.cs
- xsdvalidator.cs
- ObjectAnimationBase.cs
- ReadWriteSpinLock.cs
- SQLInt64.cs
- SoapDocumentServiceAttribute.cs
- PackWebRequestFactory.cs
- SamlAuthenticationClaimResource.cs
- XmlAttributes.cs
- BufferedReceiveManager.cs
- Expression.cs
- StaticFileHandler.cs
- PersonalizationEntry.cs
- ApplicationFileParser.cs
- WorkflowDesigner.cs
- WindowsHyperlink.cs
- ObjectViewFactory.cs
- CoreChannel.cs
- EditableTreeList.cs
- MenuItemStyle.cs
- DataGridViewCellValueEventArgs.cs
- Literal.cs
- DataListAutoFormat.cs
- ToolStripDropDownMenu.cs
- Context.cs
- PhysicalAddress.cs
- RegexStringValidatorAttribute.cs
- DocumentScope.cs
- BamlBinaryReader.cs
- XmlEntityReference.cs
- XDeferredAxisSource.cs
- TextFormatterContext.cs
- ToolboxComponentsCreatedEventArgs.cs
- WorkBatch.cs
- PathGeometry.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- CodeObject.cs
- EmptyStringExpandableObjectConverter.cs
- PropertyHelper.cs
- RetrieveVirtualItemEventArgs.cs
- BamlRecordHelper.cs
- UnSafeCharBuffer.cs
- DataChangedEventManager.cs
- JoinTreeNode.cs
- WinEventWrap.cs
- PreviewPageInfo.cs
- XmlWrappingReader.cs
- TextServicesContext.cs
- SecurityResources.cs
- MetadataArtifactLoaderFile.cs
- LambdaCompiler.Generated.cs
- TextDecorations.cs
- BindingOperations.cs
- Socket.cs
- SqlNotificationEventArgs.cs
- ModelPerspective.cs
- FontUnit.cs
- ToolStripPanelRenderEventArgs.cs
- IndexedGlyphRun.cs
- RSAPKCS1SignatureDeformatter.cs
- UntrustedRecipientException.cs
- DtrList.cs
- RoutedEventArgs.cs
- TextRangeSerialization.cs
- TlsSspiNegotiation.cs
- WindowsFormsHost.cs
- Aggregates.cs
- SamlAction.cs
- StylusPoint.cs
- TableCellAutomationPeer.cs
- XmlAnyAttributeAttribute.cs
- HtmlButton.cs
- SessionStateUtil.cs
- PropertyTab.cs