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
- StringValueSerializer.cs
- TransformerInfo.cs
- BindingCollection.cs
- SelectionItemPattern.cs
- StyleSheetRefUrlEditor.cs
- X509UI.cs
- TextHidden.cs
- EraserBehavior.cs
- ServiceDescriptionImporter.cs
- GridViewCancelEditEventArgs.cs
- PeerApplicationLaunchInfo.cs
- ArraySubsetEnumerator.cs
- EntityConnectionStringBuilderItem.cs
- WebServiceHandlerFactory.cs
- WsatAdminException.cs
- SemanticKeyElement.cs
- FunctionDetailsReader.cs
- KeyEventArgs.cs
- KnownBoxes.cs
- PointAnimationUsingPath.cs
- SharedStatics.cs
- ListViewUpdateEventArgs.cs
- DependencyProperty.cs
- XomlCompilerResults.cs
- MediaElement.cs
- SecurityManager.cs
- CultureInfoConverter.cs
- NameScope.cs
- BamlStream.cs
- OpCopier.cs
- X509SubjectKeyIdentifierClause.cs
- ThreadPool.cs
- AssociationSet.cs
- GestureRecognizer.cs
- ProcessingInstructionAction.cs
- XmlRootAttribute.cs
- EditingScopeUndoUnit.cs
- InteropAutomationProvider.cs
- UnsafeNativeMethodsMilCoreApi.cs
- ConnectionPoint.cs
- DataComponentMethodGenerator.cs
- ChangesetResponse.cs
- DataServiceHost.cs
- MaskInputRejectedEventArgs.cs
- HTTP_SERVICE_CONFIG_URLACL_KEY.cs
- BooleanProjectedSlot.cs
- MethodAccessException.cs
- WmlMobileTextWriter.cs
- MatrixAnimationBase.cs
- DLinqAssociationProvider.cs
- SqlConnectionManager.cs
- KeyConstraint.cs
- ScalarOps.cs
- WebContentFormatHelper.cs
- CqlQuery.cs
- UTF8Encoding.cs
- FocusManager.cs
- LayoutUtils.cs
- SQLChars.cs
- StringUtil.cs
- SafeEventLogWriteHandle.cs
- FixedDSBuilder.cs
- MatrixTransform3D.cs
- ServiceTimeoutsElement.cs
- DataBinding.cs
- CodeExporter.cs
- ListViewInsertionMark.cs
- LOSFormatter.cs
- Perspective.cs
- SoapSchemaMember.cs
- SqlCommandBuilder.cs
- ADConnectionHelper.cs
- XmlCustomFormatter.cs
- RichTextBox.cs
- BinaryObjectWriter.cs
- DataGridParentRows.cs
- XsltInput.cs
- Rect3D.cs
- TypeLibraryHelper.cs
- PenCursorManager.cs
- ManageRequest.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- EtwTrace.cs
- ConfigurationStrings.cs
- PointCollectionValueSerializer.cs
- TextRenderer.cs
- FlagsAttribute.cs
- HexParser.cs
- FormsAuthenticationEventArgs.cs
- UserNameSecurityTokenProvider.cs
- FormCollection.cs
- DataGridComponentEditor.cs
- TextWriterEngine.cs
- PrtCap_Builder.cs
- WinHttpWebProxyFinder.cs
- HttpListener.cs
- HtmlGenericControl.cs
- SpoolingTaskBase.cs
- QueryResponse.cs
- SerialPort.cs