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
- IApplicationTrustManager.cs
- CompleteWizardStep.cs
- TextBoxRenderer.cs
- KeyNotFoundException.cs
- IntegerValidator.cs
- XPathCompileException.cs
- CodeAttributeArgument.cs
- EventManager.cs
- IProducerConsumerCollection.cs
- ContentPosition.cs
- VScrollBar.cs
- AuthStoreRoleProvider.cs
- FunctionQuery.cs
- HttpClientCertificate.cs
- DataGridGeneralPage.cs
- ListItemCollection.cs
- LineUtil.cs
- EventlogProvider.cs
- Parameter.cs
- InitializerFacet.cs
- Int32.cs
- Buffer.cs
- CssStyleCollection.cs
- ContentElement.cs
- TailCallAnalyzer.cs
- ObjectToIdCache.cs
- dsa.cs
- EntityCommandDefinition.cs
- InvokeMethodActivity.cs
- baseaxisquery.cs
- DataGridViewRowsRemovedEventArgs.cs
- ResourcePermissionBase.cs
- QuotedPrintableStream.cs
- RankException.cs
- QuaternionAnimation.cs
- RelatedView.cs
- HttpDateParse.cs
- Columns.cs
- PackageDigitalSignature.cs
- OledbConnectionStringbuilder.cs
- InputScopeManager.cs
- PeerCollaborationPermission.cs
- TransformConverter.cs
- ExitEventArgs.cs
- TraceListener.cs
- UIElement3D.cs
- TransformDescriptor.cs
- ResXFileRef.cs
- TypeReference.cs
- ValueTypePropertyReference.cs
- FixedFlowMap.cs
- SymmetricKey.cs
- MenuItemBinding.cs
- SupportedAddressingMode.cs
- ControlValuePropertyAttribute.cs
- WrapPanel.cs
- SafeCryptHandles.cs
- XamlGridLengthSerializer.cs
- ConfigurationLockCollection.cs
- EncryptedData.cs
- MouseGestureValueSerializer.cs
- WindowsFormsHost.cs
- DescendantOverDescendantQuery.cs
- XamlStream.cs
- VBIdentifierName.cs
- __Filters.cs
- Membership.cs
- SignatureGenerator.cs
- TextEditorCharacters.cs
- wpf-etw.cs
- DPAPIProtectedConfigurationProvider.cs
- UnsafeNativeMethods.cs
- CodeVariableReferenceExpression.cs
- XmlEncodedRawTextWriter.cs
- BoolExpr.cs
- CheckedListBox.cs
- UpdateExpressionVisitor.cs
- ComplusEndpointConfigContainer.cs
- MenuCommand.cs
- QuerySettings.cs
- Message.cs
- WebBrowserSiteBase.cs
- AuthStoreRoleProvider.cs
- ProviderConnectionPointCollection.cs
- AssemblyAssociatedContentFileAttribute.cs
- ActivityScheduledQuery.cs
- DataViewListener.cs
- CodeDelegateCreateExpression.cs
- Bitmap.cs
- TypeSystem.cs
- SQLBinaryStorage.cs
- SecUtil.cs
- RectConverter.cs
- StoreItemCollection.cs
- LinkLabelLinkClickedEvent.cs
- _DigestClient.cs
- TextRunCache.cs
- DataGridParentRows.cs
- SqlAggregateChecker.cs
- PasswordTextNavigator.cs