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
- PolicyLevel.cs
- ResourceAttributes.cs
- UIntPtr.cs
- DefaultBinder.cs
- HMACSHA384.cs
- odbcmetadatacollectionnames.cs
- FlowLayout.cs
- HMAC.cs
- TypeBuilderInstantiation.cs
- XhtmlBasicTextViewAdapter.cs
- BasicKeyConstraint.cs
- SafeMILHandle.cs
- IPEndPoint.cs
- InheritanceContextHelper.cs
- InternalTypeHelper.cs
- WmlCommandAdapter.cs
- ObjectPersistData.cs
- Constraint.cs
- DataListItem.cs
- OdbcInfoMessageEvent.cs
- StringAnimationBase.cs
- _LocalDataStoreMgr.cs
- TextSelectionProcessor.cs
- DataGridTextBoxColumn.cs
- X509AsymmetricSecurityKey.cs
- EntityCollectionChangedParams.cs
- InputReportEventArgs.cs
- VolatileEnlistmentState.cs
- SimpleTypeResolver.cs
- WebResourceAttribute.cs
- CompositionDesigner.cs
- ObjectManager.cs
- DataGridViewColumnHeaderCell.cs
- ProgressBarHighlightConverter.cs
- OdbcDataReader.cs
- ResourceWriter.cs
- ConfigurationSchemaErrors.cs
- _StreamFramer.cs
- TextElementEnumerator.cs
- ListenerPerfCounters.cs
- SafeHGlobalHandleCritical.cs
- LocalizableResourceBuilder.cs
- CellParaClient.cs
- Path.cs
- ClientConfigurationHost.cs
- WebContext.cs
- Substitution.cs
- PrintControllerWithStatusDialog.cs
- StaticExtension.cs
- SelectorItemAutomationPeer.cs
- TextSearch.cs
- TextElementCollection.cs
- CodePageEncoding.cs
- TypeReference.cs
- SqlCachedBuffer.cs
- shaperfactoryquerycacheentry.cs
- ObjectDisposedException.cs
- DtdParser.cs
- SafeHandles.cs
- SettingsSection.cs
- SiteMapNode.cs
- ZoneIdentityPermission.cs
- TextElement.cs
- XmlNamespaceDeclarationsAttribute.cs
- SemanticResultValue.cs
- PolicyManager.cs
- BitmapDownload.cs
- OSEnvironmentHelper.cs
- ReflectEventDescriptor.cs
- System.Data_BID.cs
- DataKey.cs
- Viewport2DVisual3D.cs
- HandleRef.cs
- DataGridViewCellParsingEventArgs.cs
- GeometryDrawing.cs
- ScrollItemPattern.cs
- UIInitializationException.cs
- InputScope.cs
- Symbol.cs
- CapiNative.cs
- PageThemeCodeDomTreeGenerator.cs
- DocumentApplicationJournalEntry.cs
- BuildProviderAppliesToAttribute.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- QilDataSource.cs
- EventDescriptor.cs
- EmptyEnumerator.cs
- PersistenceProviderBehavior.cs
- LinkLabelLinkClickedEvent.cs
- Update.cs
- AbstractExpressions.cs
- X509AsymmetricSecurityKey.cs
- Base64WriteStateInfo.cs
- CacheForPrimitiveTypes.cs
- GroupLabel.cs
- TextTreeText.cs
- Html32TextWriter.cs
- SqlGenericUtil.cs
- base64Transforms.cs
- HttpClientCertificate.cs