Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / Microsoft / Win32 / SessionEndingEventArgs.cs / 1305376 / SessionEndingEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace Microsoft.Win32 { using System; using System.Diagnostics; using System.Security.Permissions; ////// [HostProtectionAttribute(MayLeakOnAbort = 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 SessionEndingEventArgs : EventArgs { private bool cancel; private readonly SessionEndReasons reason; ///Provides data for the ///event. /// public SessionEndingEventArgs(SessionEndReasons reason) { this.reason = reason; } ///Initializes a new instance of the ///class. /// public bool Cancel { get { return cancel; } set { cancel = value; } } ///Gets or sets a value indicating whether to cancel the user request to end the session. ////// public SessionEndReasons Reason { get { return reason; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets how the session is ending. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DSACryptoServiceProvider.cs
- Light.cs
- OleDbPermission.cs
- SafeNativeMethods.cs
- RegexParser.cs
- HttpValueCollection.cs
- WCFServiceClientProxyGenerator.cs
- PasswordRecovery.cs
- WorkflowPersistenceService.cs
- Int32RectValueSerializer.cs
- InputLangChangeEvent.cs
- ServiceDocument.cs
- TrackingProfile.cs
- MouseEvent.cs
- templategroup.cs
- ApplicationInfo.cs
- DictionaryBase.cs
- CodeTypeMember.cs
- Baml2006ReaderContext.cs
- StrokeCollectionConverter.cs
- WinFormsUtils.cs
- PropertyPathWorker.cs
- CodeAttributeDeclaration.cs
- WebProxyScriptElement.cs
- BitSet.cs
- TargetControlTypeCache.cs
- AccessedThroughPropertyAttribute.cs
- DBPropSet.cs
- StreamUpdate.cs
- HTMLTagNameToTypeMapper.cs
- DescendantQuery.cs
- NotImplementedException.cs
- XPathScanner.cs
- ContentFilePart.cs
- DropShadowEffect.cs
- PrintDialogDesigner.cs
- SecurityException.cs
- XmlNamespaceManager.cs
- TaskResultSetter.cs
- ObfuscationAttribute.cs
- BigInt.cs
- SelectionEditingBehavior.cs
- ContainerFilterService.cs
- SymbolResolver.cs
- OdbcCommandBuilder.cs
- PartialToken.cs
- MutableAssemblyCacheEntry.cs
- ItemAutomationPeer.cs
- SystemTcpStatistics.cs
- AspNetHostingPermission.cs
- XsltArgumentList.cs
- CookielessHelper.cs
- MemoryMappedView.cs
- UIElementCollection.cs
- XPathDocumentIterator.cs
- DefaultPropertyAttribute.cs
- SelectionManager.cs
- DataGridCellEditEndingEventArgs.cs
- DataGridViewBindingCompleteEventArgs.cs
- XmlWriterTraceListener.cs
- Clause.cs
- XmlWriterSettings.cs
- UriWriter.cs
- SafeEventHandle.cs
- PathParser.cs
- Action.cs
- SafeNativeMethods.cs
- PerformanceCounterManager.cs
- ConnectionStringSettings.cs
- GrammarBuilderDictation.cs
- DragSelectionMessageFilter.cs
- HeaderedItemsControl.cs
- SwitchLevelAttribute.cs
- HwndSourceKeyboardInputSite.cs
- OleDbEnumerator.cs
- PropertyDescriptorGridEntry.cs
- ViewEventArgs.cs
- RowSpanVector.cs
- TextDecorationCollection.cs
- TextParagraphCache.cs
- ApplicationManager.cs
- Console.cs
- _WinHttpWebProxyDataBuilder.cs
- TextFindEngine.cs
- PnrpPermission.cs
- HttpInputStream.cs
- ToolStripItemRenderEventArgs.cs
- UnsafeNativeMethods.cs
- RegexWorker.cs
- LayoutEvent.cs
- WebServiceHost.cs
- MenuCommand.cs
- DataDesignUtil.cs
- SkewTransform.cs
- Convert.cs
- GZipDecoder.cs
- NopReturnReader.cs
- NamedElement.cs
- EndpointNotFoundException.cs
- Canvas.cs