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
- TypedDataSourceCodeGenerator.cs
- ConvertersCollection.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- DataGridViewDataConnection.cs
- FileDataSourceCache.cs
- HuffmanTree.cs
- SyndicationDeserializer.cs
- SafeNativeMethods.cs
- RoleGroupCollection.cs
- ThrowHelper.cs
- ExtractorMetadata.cs
- Timeline.cs
- SpellerError.cs
- XmlHierarchicalEnumerable.cs
- DataReceivedEventArgs.cs
- TextTreeText.cs
- JoinTreeNode.cs
- ExpressionLexer.cs
- ReadOnlyCollection.cs
- DataFormats.cs
- LinqToSqlWrapper.cs
- ErasingStroke.cs
- ImageIndexConverter.cs
- OleDbDataAdapter.cs
- ScriptBehaviorDescriptor.cs
- BitmapEffectGroup.cs
- ConfigurationElementCollection.cs
- Comparer.cs
- HttpDebugHandler.cs
- AuthenticationModulesSection.cs
- SQLMoneyStorage.cs
- MenuItemCollection.cs
- HttpPostLocalhostServerProtocol.cs
- OledbConnectionStringbuilder.cs
- RegexCode.cs
- WebZone.cs
- PropertyInfo.cs
- SafeCryptoKeyHandle.cs
- DataGridViewRowStateChangedEventArgs.cs
- DrawingBrush.cs
- WindowsRegion.cs
- CompiledELinqQueryState.cs
- SoapConverter.cs
- X509RecipientCertificateClientElement.cs
- CodeTypeDeclarationCollection.cs
- XmlSchemaAttributeGroupRef.cs
- PageRequestManager.cs
- DebuggerAttributes.cs
- WebPartDeleteVerb.cs
- Propagator.cs
- HtmlInputControl.cs
- x509utils.cs
- OdbcStatementHandle.cs
- XsdValidatingReader.cs
- BitmapFrame.cs
- ResourceSetExpression.cs
- GridViewCommandEventArgs.cs
- BuildProviderAppliesToAttribute.cs
- NewArrayExpression.cs
- EntityDataSourceSelectedEventArgs.cs
- HttpCacheVaryByContentEncodings.cs
- WhiteSpaceTrimStringConverter.cs
- SRGSCompiler.cs
- Point3DAnimationBase.cs
- CodeCastExpression.cs
- DisplayNameAttribute.cs
- BaseUriHelper.cs
- FileClassifier.cs
- WeakReference.cs
- CodeExpressionStatement.cs
- BrowserDefinition.cs
- unitconverter.cs
- ImageAutomationPeer.cs
- MailWebEventProvider.cs
- ChangePassword.cs
- DataGridAutomationPeer.cs
- ClientEventManager.cs
- SqlResolver.cs
- ColumnMapProcessor.cs
- ModelTreeEnumerator.cs
- WebPartsPersonalization.cs
- X509ScopedServiceCertificateElementCollection.cs
- ProfilePropertyNameValidator.cs
- SiteOfOriginContainer.cs
- TickBar.cs
- HttpCachePolicyBase.cs
- ThreadStartException.cs
- SqlAggregateChecker.cs
- WindowsFormsSynchronizationContext.cs
- FieldNameLookup.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- Selector.cs
- bindurihelper.cs
- OutputCacheSettingsSection.cs
- SafeReadContext.cs
- DataObjectEventArgs.cs
- Bezier.cs
- StrokeNodeEnumerator.cs
- CodeMemberEvent.cs
- HMACMD5.cs