Code:
/ FX-1434 / FX-1434 / 1.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
- ImageIndexConverter.cs
- TemplateField.cs
- RegexStringValidatorAttribute.cs
- ToolStripContentPanelRenderEventArgs.cs
- XmlSchemaCompilationSettings.cs
- XmlNamespaceDeclarationsAttribute.cs
- ScriptManager.cs
- BitmapDownload.cs
- RectAnimationBase.cs
- FixedSOMSemanticBox.cs
- AssemblyName.cs
- DateTimeParse.cs
- Splitter.cs
- SerialStream.cs
- CommandField.cs
- RadioButtonAutomationPeer.cs
- RegexMatch.cs
- BigIntegerStorage.cs
- SQLMoneyStorage.cs
- TypedReference.cs
- MessageLoggingElement.cs
- TextDecorationCollection.cs
- TTSEngineTypes.cs
- ButtonBase.cs
- DataGridCommandEventArgs.cs
- DetailsViewPageEventArgs.cs
- RelationshipEnd.cs
- MultiBinding.cs
- NotifyInputEventArgs.cs
- BooleanFunctions.cs
- IndexingContentUnit.cs
- MenuItem.cs
- TableCellCollection.cs
- FieldMetadata.cs
- WebRequest.cs
- SBCSCodePageEncoding.cs
- PerformanceCounterLib.cs
- XmlSerializerFactory.cs
- COM2TypeInfoProcessor.cs
- ResourceProviderFactory.cs
- DataControlCommands.cs
- HostSecurityManager.cs
- ReachUIElementCollectionSerializerAsync.cs
- ObjectRef.cs
- SID.cs
- VectorAnimation.cs
- DistributedTransactionPermission.cs
- QueryResult.cs
- TypeSystem.cs
- BitStack.cs
- ListViewSortEventArgs.cs
- CircleEase.cs
- COM2ExtendedBrowsingHandler.cs
- OracleLob.cs
- DocumentXmlWriter.cs
- PropertyBuilder.cs
- Activity.cs
- BooleanConverter.cs
- AssemblyName.cs
- StringPropertyBuilder.cs
- SqlGatherProducedAliases.cs
- CompressEmulationStream.cs
- RequestSecurityToken.cs
- SourceChangedEventArgs.cs
- RemoteTokenFactory.cs
- HeaderCollection.cs
- FailedToStartupUIException.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- PasswordTextNavigator.cs
- ImageFormat.cs
- ConfigurationValue.cs
- CacheChildrenQuery.cs
- CharacterShapingProperties.cs
- EndOfStreamException.cs
- TextElementCollectionHelper.cs
- FontWeightConverter.cs
- LogStore.cs
- SmiEventSink_Default.cs
- _FixedSizeReader.cs
- NameSpaceExtractor.cs
- GrammarBuilderWildcard.cs
- DataBinding.cs
- BindingWorker.cs
- TextEditorLists.cs
- SoapExtensionTypeElementCollection.cs
- TextBox.cs
- CachedBitmap.cs
- BoolLiteral.cs
- Decimal.cs
- CultureNotFoundException.cs
- DataSourceView.cs
- ReaderContextStackData.cs
- FixedTextPointer.cs
- SoapAttributeAttribute.cs
- HMACRIPEMD160.cs
- ObjectListCommand.cs
- SymLanguageVendor.cs
- SqlDataAdapter.cs
- TransformCollection.cs
- CommandHelper.cs