Code:
/ FX-1434 / FX-1434 / 1.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
- EntityObject.cs
- DataGrid.cs
- ChangeTracker.cs
- DbConnectionClosed.cs
- HttpPostProtocolImporter.cs
- DPCustomTypeDescriptor.cs
- PropertyDescriptorComparer.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- CheckBoxField.cs
- _StreamFramer.cs
- StructuredTypeInfo.cs
- ThreadStaticAttribute.cs
- GridViewRowCollection.cs
- NegationPusher.cs
- DefaultTextStoreTextComposition.cs
- TripleDES.cs
- TextureBrush.cs
- DataControlFieldsEditor.cs
- MessageSecurityOverHttpElement.cs
- SponsorHelper.cs
- HwndMouseInputProvider.cs
- EndpointPerformanceCounters.cs
- DataListCommandEventArgs.cs
- LinkButton.cs
- ManagedCodeMarkers.cs
- DragEvent.cs
- InvalidStoreProtectionKeyException.cs
- SmiEventSink_Default.cs
- EventLogWatcher.cs
- MediaCommands.cs
- OutputCacheProfile.cs
- XmlUtil.cs
- StylusOverProperty.cs
- ObjectQueryExecutionPlan.cs
- Int32RectConverter.cs
- Stackframe.cs
- HtmlInputControl.cs
- RootDesignerSerializerAttribute.cs
- CustomCredentialPolicy.cs
- InputScopeConverter.cs
- SvcMapFileLoader.cs
- sortedlist.cs
- WriterOutput.cs
- _AcceptOverlappedAsyncResult.cs
- NameValuePair.cs
- AsymmetricKeyExchangeFormatter.cs
- TimelineClockCollection.cs
- ListParaClient.cs
- RequestUriProcessor.cs
- CompModHelpers.cs
- XmlWhitespace.cs
- DependencyObject.cs
- DockAndAnchorLayout.cs
- CompModSwitches.cs
- HttpModuleAction.cs
- ExceptionRoutedEventArgs.cs
- ListMarkerLine.cs
- Image.cs
- SettingsBindableAttribute.cs
- FileSecurity.cs
- DataListItem.cs
- ControllableStoryboardAction.cs
- InputLangChangeRequestEvent.cs
- DataServiceBehavior.cs
- ISFTagAndGuidCache.cs
- ApplicationDirectory.cs
- ViewBox.cs
- TextEmbeddedObject.cs
- CacheMemory.cs
- DrawingBrush.cs
- SqlTriggerAttribute.cs
- CurrencyWrapper.cs
- LinqDataSourceEditData.cs
- PriorityBinding.cs
- control.ime.cs
- ObjectItemAttributeAssemblyLoader.cs
- EntityDesignerUtils.cs
- StylusEditingBehavior.cs
- ObjectRef.cs
- FlowchartSizeFeature.cs
- ConditionCollection.cs
- FieldMetadata.cs
- NavigationWindow.cs
- WorkflowInstanceQuery.cs
- XmlSchemaComplexContent.cs
- XmlReaderSettings.cs
- QueryAsyncResult.cs
- SafeLibraryHandle.cs
- MonthCalendar.cs
- ContainerUtilities.cs
- TypeLoadException.cs
- SymmetricAlgorithm.cs
- Int32CAMarshaler.cs
- Bits.cs
- Speller.cs
- HtmlElement.cs
- KeyboardDevice.cs
- XsdBuilder.cs
- CompilerCollection.cs
- MessageHeaderDescription.cs