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
- AmbientProperties.cs
- BindValidationContext.cs
- PersistChildrenAttribute.cs
- PreviewPageInfo.cs
- BaseResourcesBuildProvider.cs
- WebBrowserProgressChangedEventHandler.cs
- SafeCryptoHandles.cs
- ArrayList.cs
- _ListenerAsyncResult.cs
- Executor.cs
- XmlWrappingReader.cs
- BlockUIContainer.cs
- MachineSettingsSection.cs
- DataGridColumnDropSeparator.cs
- TagMapInfo.cs
- NetworkStream.cs
- WebPartManagerInternals.cs
- backend.cs
- IListConverters.cs
- DescendentsWalkerBase.cs
- XslException.cs
- RemoteWebConfigurationHost.cs
- WorkflowTransactionOptions.cs
- DataTemplateKey.cs
- ContextMarshalException.cs
- ContentControl.cs
- ServiceOperation.cs
- SchemaImporter.cs
- InputManager.cs
- ListenerAdaptersInstallComponent.cs
- FormsAuthenticationUserCollection.cs
- SymLanguageType.cs
- AutoGeneratedFieldProperties.cs
- ActivityPreviewDesigner.cs
- XmlWellformedWriterHelpers.cs
- CodeChecksumPragma.cs
- XmlSchemaObject.cs
- RequiredFieldValidator.cs
- DeclarativeConditionsCollection.cs
- XmlBindingWorker.cs
- DataGridViewCellEventArgs.cs
- ViewManager.cs
- WriteableBitmap.cs
- DecoderExceptionFallback.cs
- CommentAction.cs
- ScriptingScriptResourceHandlerSection.cs
- QueryContinueDragEventArgs.cs
- DataFormats.cs
- TextRenderingModeValidation.cs
- RequestCachePolicyConverter.cs
- FloatSumAggregationOperator.cs
- Recipient.cs
- DescriptionAttribute.cs
- SqlDataSourceDesigner.cs
- JsonWriter.cs
- Crc32Helper.cs
- ValidationPropertyAttribute.cs
- _LocalDataStoreMgr.cs
- XslCompiledTransform.cs
- Geometry.cs
- WebPartTransformerCollection.cs
- SiteMapNode.cs
- PrintEvent.cs
- UnsafeNativeMethods.cs
- SqlCommandBuilder.cs
- HtmlTableRow.cs
- HitTestDrawingContextWalker.cs
- SqlCacheDependencyDatabaseCollection.cs
- Nullable.cs
- SamlDelegatingWriter.cs
- ConfigXmlText.cs
- IdentityModelStringsVersion1.cs
- GridViewDeleteEventArgs.cs
- SplineKeyFrames.cs
- RemotingException.cs
- PolicyManager.cs
- smtpconnection.cs
- HtmlMobileTextWriter.cs
- SafeHandle.cs
- NetworkStream.cs
- ContentValidator.cs
- TTSVoice.cs
- KoreanCalendar.cs
- _ProxyChain.cs
- BackgroundWorker.cs
- XmlWriter.cs
- FontDifferentiator.cs
- SqlCacheDependencyDatabaseCollection.cs
- _AcceptOverlappedAsyncResult.cs
- KeyTime.cs
- Win32Native.cs
- WebPartExportVerb.cs
- InheritanceAttribute.cs
- DataControlExtensions.cs
- UriParserTemplates.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- _ShellExpression.cs
- xdrvalidator.cs
- XdrBuilder.cs
- DtrList.cs