Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / Microsoft / Win32 / SessionEndedEventArgs.cs / 1 / SessionEndedEventArgs.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 SessionEndedEventArgs : EventArgs { private readonly SessionEndReasons reason; ///Provides data for the ///event. /// public SessionEndedEventArgs(SessionEndReasons reason) { this.reason = reason; } ///Initializes a new instance of the ///class. /// public SessionEndReasons Reason { get { return reason; } } } }Gets how the session ended. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RandomNumberGenerator.cs
- TextOnlyOutput.cs
- XmlTextReaderImpl.cs
- DbgUtil.cs
- DependencyPropertyChangedEventArgs.cs
- VectorKeyFrameCollection.cs
- KerberosReceiverSecurityToken.cs
- EmbeddedObject.cs
- SmtpMail.cs
- SkipQueryOptionExpression.cs
- PageContentCollection.cs
- FixedHyperLink.cs
- RSAOAEPKeyExchangeFormatter.cs
- ParseChildrenAsPropertiesAttribute.cs
- XmlEncodedRawTextWriter.cs
- MarkupExtensionParser.cs
- StandardBindingElement.cs
- DragCompletedEventArgs.cs
- XPathMultyIterator.cs
- UniformGrid.cs
- TreeNodeCollection.cs
- UnsafeNativeMethodsPenimc.cs
- Encoder.cs
- SchemaTableOptionalColumn.cs
- Hyperlink.cs
- PersistencePipeline.cs
- TextServicesCompartmentEventSink.cs
- OptimisticConcurrencyException.cs
- ListenerConfig.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- TreeNodeBindingDepthConverter.cs
- RtfToXamlLexer.cs
- InternalCache.cs
- DirectionalLight.cs
- CodeMethodReturnStatement.cs
- TransformerTypeCollection.cs
- Cursor.cs
- DocumentPageTextView.cs
- WindowsProgressbar.cs
- NetMsmqSecurityElement.cs
- PEFileEvidenceFactory.cs
- Relationship.cs
- KoreanCalendar.cs
- OpCopier.cs
- TcpTransportSecurityElement.cs
- CfgSemanticTag.cs
- SqlGenericUtil.cs
- BookmarkOptionsHelper.cs
- WeakRefEnumerator.cs
- MatrixUtil.cs
- GenericPrincipal.cs
- XmlSchemaAppInfo.cs
- DelegateHelpers.Generated.cs
- SQLGuid.cs
- CapabilitiesPattern.cs
- ConfigPathUtility.cs
- ValidatingCollection.cs
- DocumentReference.cs
- UIElement.cs
- TraceXPathNavigator.cs
- ClientApiGenerator.cs
- VolatileEnlistmentState.cs
- AutoGeneratedField.cs
- StylusLogic.cs
- BidirectionalDictionary.cs
- TransformConverter.cs
- VisualStyleInformation.cs
- SqlSelectStatement.cs
- Internal.cs
- XmlDsigSep2000.cs
- DeferredElementTreeState.cs
- OperatingSystemVersionCheck.cs
- EtwTrace.cs
- HttpWebRequestElement.cs
- PrintPreviewDialog.cs
- ListManagerBindingsCollection.cs
- XmlDataImplementation.cs
- ItemsControlAutomationPeer.cs
- Internal.cs
- GridViewDeletedEventArgs.cs
- LinqTreeNodeEvaluator.cs
- DBConnectionString.cs
- Select.cs
- SegmentInfo.cs
- MappingException.cs
- AnnotationObservableCollection.cs
- RegexBoyerMoore.cs
- WpfWebRequestHelper.cs
- TableColumnCollection.cs
- HttpHandlerAction.cs
- PrimitiveXmlSerializers.cs
- GroupedContextMenuStrip.cs
- Activator.cs
- recordstatefactory.cs
- querybuilder.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- UnknownWrapper.cs
- XPathExpr.cs
- Vector3DConverter.cs
- EastAsianLunisolarCalendar.cs