Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / Design / DesignerTransactionCloseEvent.cs / 1305376 / DesignerTransactionCloseEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.ComponentModel.Design { using Microsoft.Win32; using System; using System.ComponentModel; using System.Diagnostics; using System.Reflection; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] [System.Runtime.InteropServices.ComVisible(true)] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name="FullTrust")] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] public class DesignerTransactionCloseEventArgs : EventArgs { private bool commit; private bool lastTransaction; ///[To be supplied.] ////// Creates a new event args. Commit is true if the transaction is committed. This /// defaults the LastTransaction property to true. /// [Obsolete("This constructor is obsolete. Use DesignerTransactionCloseEventArgs(bool, bool) instead. http://go.microsoft.com/fwlink/?linkid=14202")] public DesignerTransactionCloseEventArgs(bool commit) : this(commit, true) { } ////// Creates a new event args. Commit is true if the transaction is committed, and /// lastTransaction is true if this is the last transaction to close. /// public DesignerTransactionCloseEventArgs(bool commit, bool lastTransaction) { this.commit = commit; this.lastTransaction = lastTransaction; } ////// public bool TransactionCommitted { get { return commit; } } ///[To be supplied.] ////// Returns true if this is the last transaction to close. /// public bool LastTransaction { get { return lastTransaction; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.ComponentModel.Design { using Microsoft.Win32; using System; using System.ComponentModel; using System.Diagnostics; using System.Reflection; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] [System.Runtime.InteropServices.ComVisible(true)] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name="FullTrust")] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] public class DesignerTransactionCloseEventArgs : EventArgs { private bool commit; private bool lastTransaction; ///[To be supplied.] ////// Creates a new event args. Commit is true if the transaction is committed. This /// defaults the LastTransaction property to true. /// [Obsolete("This constructor is obsolete. Use DesignerTransactionCloseEventArgs(bool, bool) instead. http://go.microsoft.com/fwlink/?linkid=14202")] public DesignerTransactionCloseEventArgs(bool commit) : this(commit, true) { } ////// Creates a new event args. Commit is true if the transaction is committed, and /// lastTransaction is true if this is the last transaction to close. /// public DesignerTransactionCloseEventArgs(bool commit, bool lastTransaction) { this.commit = commit; this.lastTransaction = lastTransaction; } ////// public bool TransactionCommitted { get { return commit; } } ///[To be supplied.] ////// Returns true if this is the last transaction to close. /// public bool LastTransaction { get { return lastTransaction; } } } } // 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
- _SslSessionsCache.cs
- ResetableIterator.cs
- Semaphore.cs
- MemberInfoSerializationHolder.cs
- ReliableSessionElement.cs
- XPathDocumentBuilder.cs
- ParameterElementCollection.cs
- PointAnimation.cs
- CompilerGeneratedAttribute.cs
- EntityDataSourceConfigureObjectContext.cs
- XsltFunctions.cs
- XPathBinder.cs
- SortedSetDebugView.cs
- TileBrush.cs
- PreloadedPackages.cs
- TextElementCollectionHelper.cs
- ScrollableControl.cs
- AuthenticationSection.cs
- ConnectionInterfaceCollection.cs
- SubtreeProcessor.cs
- GraphicsContainer.cs
- FocusTracker.cs
- ServiceDurableInstanceContextProvider.cs
- ExpandCollapseProviderWrapper.cs
- ReservationCollection.cs
- CircleHotSpot.cs
- NumericUpDownAccelerationCollection.cs
- GridEntry.cs
- XamlTypeMapper.cs
- DataRowExtensions.cs
- Timeline.cs
- _SSPIWrapper.cs
- TypeConverterMarkupExtension.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- PropertyKey.cs
- CombinedGeometry.cs
- MetadataArtifactLoaderResource.cs
- lengthconverter.cs
- DbConnectionStringBuilder.cs
- versioninfo.cs
- _BufferOffsetSize.cs
- ParseHttpDate.cs
- PlanCompilerUtil.cs
- RoutedEventValueSerializer.cs
- EditingContext.cs
- _SecureChannel.cs
- SpeechDetectedEventArgs.cs
- SerTrace.cs
- LinkClickEvent.cs
- DrawingBrush.cs
- NumericExpr.cs
- TaskbarItemInfo.cs
- COAUTHIDENTITY.cs
- GetCardDetailsRequest.cs
- DateTimeEditor.cs
- ConversionHelper.cs
- FileSystemInfo.cs
- QilFunction.cs
- ToolStripSeparatorRenderEventArgs.cs
- PeerNode.cs
- NavigationProperty.cs
- MarginsConverter.cs
- ImportContext.cs
- TemplateBindingExpressionConverter.cs
- TextDecorationUnitValidation.cs
- CustomSignedXml.cs
- TextEditorSpelling.cs
- ByteConverter.cs
- ADConnectionHelper.cs
- DES.cs
- JsonFormatGeneratorStatics.cs
- RoutedEventArgs.cs
- TickBar.cs
- OracleConnectionString.cs
- FlowDocumentReaderAutomationPeer.cs
- PageBuildProvider.cs
- SecurityHelper.cs
- X509ImageLogo.cs
- GridEntryCollection.cs
- HexParser.cs
- TextTreeUndoUnit.cs
- WebPartEditorApplyVerb.cs
- TextElementCollectionHelper.cs
- EventWaitHandleSecurity.cs
- RC2.cs
- CharStorage.cs
- QilScopedVisitor.cs
- RangeBase.cs
- KnownBoxes.cs
- EventQueueState.cs
- ReadOnlyCollection.cs
- InternalCache.cs
- OleAutBinder.cs
- ObjectDataSourceSelectingEventArgs.cs
- ParserOptions.cs
- XmlBinaryReaderSession.cs
- X509PeerCertificateAuthenticationElement.cs
- WindowsToolbarAsMenu.cs
- CookieProtection.cs
- ScriptReferenceBase.cs