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
- Util.cs
- ServicePointManagerElement.cs
- PersonalizationEntry.cs
- HotSpotCollectionEditor.cs
- JumpPath.cs
- Metadata.cs
- Rule.cs
- UriParserTemplates.cs
- TableSectionStyle.cs
- HeaderUtility.cs
- KeyGesture.cs
- TextEffect.cs
- DrawTreeNodeEventArgs.cs
- BreakRecordTable.cs
- RoleService.cs
- ItemChangedEventArgs.cs
- CalendarData.cs
- TimeZone.cs
- Margins.cs
- SchemaImporterExtension.cs
- VoiceInfo.cs
- cookieexception.cs
- ObjectQueryExecutionPlan.cs
- ParserStack.cs
- DoubleAnimation.cs
- Group.cs
- CompilerGlobalScopeAttribute.cs
- EventWaitHandle.cs
- DataViewListener.cs
- DocumentViewer.cs
- ChangesetResponse.cs
- MailAddressCollection.cs
- SelectionItemProviderWrapper.cs
- EntryWrittenEventArgs.cs
- SqlBooleanizer.cs
- FlagsAttribute.cs
- SerializerWriterEventHandlers.cs
- FileRecordSequenceHelper.cs
- LogicalTreeHelper.cs
- SortExpressionBuilder.cs
- UrlAuthorizationModule.cs
- XmlSchemaDatatype.cs
- _Events.cs
- GeneralTransform3DCollection.cs
- RequiredFieldValidator.cs
- LogConverter.cs
- XPathDescendantIterator.cs
- NativeConfigurationLoader.cs
- SqlDataSourceCustomCommandEditor.cs
- BitVector32.cs
- DataGridViewCellStateChangedEventArgs.cs
- MetadataArtifactLoaderFile.cs
- HScrollProperties.cs
- MembershipSection.cs
- UnmanagedHandle.cs
- MaskedTextBoxDesignerActionList.cs
- WindowPattern.cs
- Closure.cs
- SatelliteContractVersionAttribute.cs
- RowToFieldTransformer.cs
- Pair.cs
- SmiTypedGetterSetter.cs
- UIElement3D.cs
- DataBindingExpressionBuilder.cs
- SelfIssuedAuthRSAPKCS1SignatureDeformatter.cs
- TextTreeTextElementNode.cs
- ResourceExpression.cs
- HybridCollection.cs
- WindowsSlider.cs
- HtmlImage.cs
- SQLGuid.cs
- MsmqInputChannelListenerBase.cs
- TextTreeInsertUndoUnit.cs
- ObfuscationAttribute.cs
- ErrorEventArgs.cs
- ReadOnlyHierarchicalDataSourceView.cs
- ErrorFormatterPage.cs
- SystemWebSectionGroup.cs
- OutputCacheModule.cs
- ZoneIdentityPermission.cs
- ModelTreeEnumerator.cs
- ToolStripScrollButton.cs
- RootProfilePropertySettingsCollection.cs
- RtfNavigator.cs
- StackBuilderSink.cs
- SamlEvidence.cs
- TextTreeExtractElementUndoUnit.cs
- DetailsViewInsertedEventArgs.cs
- HttpHandler.cs
- NGCSerializationManager.cs
- PrinterResolution.cs
- KeyValuePair.cs
- EDesignUtil.cs
- PrimarySelectionAdorner.cs
- LogLogRecordHeader.cs
- TextServicesCompartmentContext.cs
- SchemaImporterExtensionElement.cs
- HyperLink.cs
- Int16KeyFrameCollection.cs
- SafeHandles.cs