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
- MetadataCache.cs
- DataSetUtil.cs
- ProgressBarBrushConverter.cs
- CoTaskMemSafeHandle.cs
- RadialGradientBrush.cs
- StringHelper.cs
- BindingMAnagerBase.cs
- SerializationInfoEnumerator.cs
- HtmlInputText.cs
- NetworkInterface.cs
- Transactions.cs
- UInt32Storage.cs
- TemplateBindingExtensionConverter.cs
- CodeArgumentReferenceExpression.cs
- DesignSurfaceCollection.cs
- InvalidOleVariantTypeException.cs
- DispatchChannelSink.cs
- AnnotationResource.cs
- GroupBox.cs
- WebPartDescriptionCollection.cs
- SystemGatewayIPAddressInformation.cs
- DeferrableContentConverter.cs
- XPathParser.cs
- HttpStreamXmlDictionaryReader.cs
- ExtensionQuery.cs
- CaseExpr.cs
- LicFileLicenseProvider.cs
- FtpWebResponse.cs
- GridViewCommandEventArgs.cs
- RelativeSource.cs
- EventInfo.cs
- ArglessEventHandlerProxy.cs
- DataRecord.cs
- SignatureHelper.cs
- ParentUndoUnit.cs
- SettingsBase.cs
- StrokeFIndices.cs
- TextBox.cs
- ObjectReaderCompiler.cs
- LineProperties.cs
- DrawListViewSubItemEventArgs.cs
- RequestCacheManager.cs
- TypeSystem.cs
- GradientSpreadMethodValidation.cs
- GenericTypeParameterConverter.cs
- HttpCacheVary.cs
- ResXDataNode.cs
- AttachedAnnotationChangedEventArgs.cs
- DataReceivedEventArgs.cs
- ListDictionaryInternal.cs
- XmlWrappingReader.cs
- MulticastOption.cs
- QilVisitor.cs
- ListViewGroupItemCollection.cs
- DragStartedEventArgs.cs
- DataSvcMapFileSerializer.cs
- FixedTextView.cs
- ManagedWndProcTracker.cs
- BulletedListEventArgs.cs
- LateBoundBitmapDecoder.cs
- CompilationUtil.cs
- FixedFindEngine.cs
- EpmContentSerializer.cs
- PrinterUnitConvert.cs
- WebBrowserEvent.cs
- SqlDesignerDataSourceView.cs
- WindowsStatusBar.cs
- SqlInternalConnectionSmi.cs
- InternalConfigSettingsFactory.cs
- CircleEase.cs
- TemplateBamlRecordReader.cs
- SupportsEventValidationAttribute.cs
- GC.cs
- CodeAccessSecurityEngine.cs
- TextSelectionProcessor.cs
- TableLayoutSettings.cs
- UnsafeNativeMethodsMilCoreApi.cs
- TemplateBindingExpression.cs
- Regex.cs
- MetafileHeaderEmf.cs
- DummyDataSource.cs
- HttpListener.cs
- FormViewUpdateEventArgs.cs
- HtmlInputFile.cs
- ImageAttributes.cs
- OperationCanceledException.cs
- MutexSecurity.cs
- MimeReturn.cs
- CopyCodeAction.cs
- DataContractSerializer.cs
- ResourceWriter.cs
- OdbcConnectionFactory.cs
- DiscreteKeyFrames.cs
- XmlNamespaceManager.cs
- BrowserCapabilitiesCompiler.cs
- QilTernary.cs
- RadioButtonAutomationPeer.cs
- AnnotationElement.cs
- MemoryMappedView.cs
- PropertyMapper.cs