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
- ListBindableAttribute.cs
- ToolTipService.cs
- DataRowExtensions.cs
- BitHelper.cs
- WorkflowShape.cs
- StringCollectionEditor.cs
- LogRecordSequence.cs
- SqlFunctions.cs
- WebPartDeleteVerb.cs
- ChangeDirector.cs
- TextEndOfLine.cs
- TeredoHelper.cs
- FtpCachePolicyElement.cs
- ConnectionOrientedTransportManager.cs
- EpmSyndicationContentSerializer.cs
- DelegatingTypeDescriptionProvider.cs
- Select.cs
- ConcurrentDictionary.cs
- SchemaElementDecl.cs
- JulianCalendar.cs
- MaskedTextProvider.cs
- EntityException.cs
- CodeBlockBuilder.cs
- PropertyGridCommands.cs
- JsonReader.cs
- KeyProperty.cs
- DataGridHelper.cs
- MemoryStream.cs
- PasswordPropertyTextAttribute.cs
- FullTextBreakpoint.cs
- PageAsyncTask.cs
- BoolExpressionVisitors.cs
- TextReader.cs
- UTF7Encoding.cs
- Stopwatch.cs
- CustomServiceCredentials.cs
- WsatEtwTraceListener.cs
- TableRow.cs
- ApplicationDirectory.cs
- EditCommandColumn.cs
- SamlAdvice.cs
- WebDisplayNameAttribute.cs
- SQLRoleProvider.cs
- ConnectivityStatus.cs
- StorageRoot.cs
- SharedHttpsTransportManager.cs
- PersistStreamTypeWrapper.cs
- ScriptingAuthenticationServiceSection.cs
- CodePropertyReferenceExpression.cs
- BaseAsyncResult.cs
- ParseElementCollection.cs
- TraceHwndHost.cs
- ListParagraph.cs
- MemberInfoSerializationHolder.cs
- DataFieldCollectionEditor.cs
- TextAction.cs
- CodeIdentifier.cs
- CharUnicodeInfo.cs
- DataKeyCollection.cs
- DataGridViewRowStateChangedEventArgs.cs
- QueueSurrogate.cs
- GlyphRun.cs
- ServiceContractViewControl.cs
- ApplicationSecurityInfo.cs
- BaseProcessor.cs
- AppSecurityManager.cs
- InplaceBitmapMetadataWriter.cs
- StatusBarDrawItemEvent.cs
- XmlLangPropertyAttribute.cs
- MetafileHeader.cs
- LocalizableResourceBuilder.cs
- WrappedIUnknown.cs
- QuaternionAnimationUsingKeyFrames.cs
- OutputCacheSettings.cs
- FormatVersion.cs
- WindowsSpinner.cs
- WebCodeGenerator.cs
- ListViewItemMouseHoverEvent.cs
- XmlAttributes.cs
- WeakReferenceEnumerator.cs
- DefaultTraceListener.cs
- ToolStripRendererSwitcher.cs
- HtmlImage.cs
- _HelperAsyncResults.cs
- TreePrinter.cs
- RuntimeIdentifierPropertyAttribute.cs
- Pick.cs
- OperatorExpressions.cs
- RayMeshGeometry3DHitTestResult.cs
- DefaultParameterValueAttribute.cs
- DtcInterfaces.cs
- AdditionalEntityFunctions.cs
- DrawListViewSubItemEventArgs.cs
- MessageSmuggler.cs
- isolationinterop.cs
- SchemaComplexType.cs
- ObjectQuery.cs
- AssemblyNameProxy.cs
- ListChangedEventArgs.cs
- SamlConstants.cs