Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / Microsoft / Win32 / SessionEndingEventArgs.cs / 1 / 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; } } } }Gets how the session is ending. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AttributeConverter.cs
- Int64Storage.cs
- versioninfo.cs
- EntityDataSourceWizardForm.cs
- MobileResource.cs
- ThumbAutomationPeer.cs
- HtmlValidationSummaryAdapter.cs
- DataPagerFieldItem.cs
- PagesChangedEventArgs.cs
- PolicyException.cs
- ErrorLog.cs
- FormsAuthenticationCredentials.cs
- ColumnReorderedEventArgs.cs
- LinqDataSourceView.cs
- ToggleButtonAutomationPeer.cs
- EmptyTextWriter.cs
- HttpPostProtocolImporter.cs
- SendSecurityHeaderElementContainer.cs
- DataGridLinkButton.cs
- RpcCryptoContext.cs
- HwndSubclass.cs
- PageEventArgs.cs
- MetadataPropertyAttribute.cs
- DependencyObjectValidator.cs
- DBNull.cs
- PictureBox.cs
- DrawingBrush.cs
- cryptoapiTransform.cs
- WebConfigurationFileMap.cs
- XmlUrlEditor.cs
- AncillaryOps.cs
- MethodImplAttribute.cs
- EqualityComparer.cs
- MarshalDirectiveException.cs
- XmlValidatingReaderImpl.cs
- AvTraceFormat.cs
- GenericPrincipal.cs
- ScriptingProfileServiceSection.cs
- EntityPropertyMappingAttribute.cs
- SqlConnectionHelper.cs
- WebPartCancelEventArgs.cs
- AttachInfo.cs
- PaintValueEventArgs.cs
- WmpBitmapEncoder.cs
- VisualStates.cs
- XmlReaderSettings.cs
- PngBitmapEncoder.cs
- SessionSwitchEventArgs.cs
- ISFTagAndGuidCache.cs
- EntityCommand.cs
- DataSetFieldSchema.cs
- XmlSerializer.cs
- AccessibleObject.cs
- ThemeDirectoryCompiler.cs
- VSWCFServiceContractGenerator.cs
- FormatVersion.cs
- HebrewCalendar.cs
- AlternateView.cs
- InputScopeNameConverter.cs
- NodeFunctions.cs
- XmlCountingReader.cs
- HostedTransportConfigurationManager.cs
- AttachedPropertyMethodSelector.cs
- ConnectionPoint.cs
- TextInfo.cs
- RegistrationServices.cs
- CultureInfoConverter.cs
- DataGridViewRowHeaderCell.cs
- ExceptionUtil.cs
- BufferedGraphics.cs
- FileSystemEventArgs.cs
- PropertyTabChangedEvent.cs
- DataBoundControlHelper.cs
- AnnotationObservableCollection.cs
- CollectionViewProxy.cs
- DataServiceProviderMethods.cs
- UnSafeCharBuffer.cs
- UrlAuthFailureHandler.cs
- TextRangeEditTables.cs
- PropertyChangingEventArgs.cs
- EncoderNLS.cs
- SqlMultiplexer.cs
- StateChangeEvent.cs
- IList.cs
- RelationshipWrapper.cs
- StylusEditingBehavior.cs
- AnonymousIdentificationSection.cs
- CodeDirectoryCompiler.cs
- ContentPresenter.cs
- EmbeddedObject.cs
- RSAPKCS1KeyExchangeFormatter.cs
- DBBindings.cs
- HttpAsyncResult.cs
- RegexRunnerFactory.cs
- WebReference.cs
- _NTAuthentication.cs
- SR.cs
- StringArrayConverter.cs
- HtmlContainerControl.cs
- XmlException.cs