Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets how the session ended. ///// 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets how the session ended. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SystemFonts.cs
- ConsoleCancelEventArgs.cs
- DataSourceView.cs
- ImplicitInputBrush.cs
- LayoutEngine.cs
- securitycriticaldataformultiplegetandset.cs
- CodeIterationStatement.cs
- ThreadStartException.cs
- CodeIndexerExpression.cs
- SplitterPanel.cs
- SmtpNetworkElement.cs
- HybridDictionary.cs
- ObjectQuery.cs
- Viewport3DAutomationPeer.cs
- GraphicsContext.cs
- ToolStripContainer.cs
- SqlConnectionPoolGroupProviderInfo.cs
- StateMachineHelpers.cs
- MonthChangedEventArgs.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- AssemblyUtil.cs
- StateItem.cs
- ResourceContainer.cs
- HttpServerVarsCollection.cs
- DataTableNameHandler.cs
- AdornedElementPlaceholder.cs
- OleDbPermission.cs
- Internal.cs
- OleDbDataAdapter.cs
- LongAverageAggregationOperator.cs
- FormsAuthentication.cs
- ChannelPool.cs
- OleDbCommand.cs
- CustomGrammar.cs
- TextTreeRootTextBlock.cs
- TextBoxRenderer.cs
- PropertyChangingEventArgs.cs
- DeobfuscatingStream.cs
- AsymmetricKeyExchangeFormatter.cs
- CheckedListBox.cs
- ValueTable.cs
- WindowsTooltip.cs
- SectionRecord.cs
- ErrorProvider.cs
- SchemaImporterExtensionsSection.cs
- PerformanceCounters.cs
- CheckPair.cs
- OutputCacheModule.cs
- HasCopySemanticsAttribute.cs
- Light.cs
- AttachedAnnotation.cs
- XmlSchemaSequence.cs
- HttpListenerResponse.cs
- SystemColorTracker.cs
- PromptEventArgs.cs
- CommandHelpers.cs
- SecurityContext.cs
- ListBoxItem.cs
- AsyncSerializedWorker.cs
- BinaryWriter.cs
- ListSourceHelper.cs
- infer.cs
- IndexedGlyphRun.cs
- ProcessingInstructionAction.cs
- ProfileGroupSettingsCollection.cs
- ResolveNameEventArgs.cs
- SigningDialog.cs
- PartialArray.cs
- DataBoundLiteralControl.cs
- KeyConverter.cs
- OleDbErrorCollection.cs
- XmlReturnWriter.cs
- RenderDataDrawingContext.cs
- IfElseDesigner.xaml.cs
- PackagePart.cs
- VSDExceptions.cs
- Timer.cs
- LiteralTextContainerControlBuilder.cs
- Preprocessor.cs
- GridViewRow.cs
- SiteMapHierarchicalDataSourceView.cs
- AssemblyResourceLoader.cs
- DtrList.cs
- PropertyChangedEventArgs.cs
- BigInt.cs
- ReceiveParametersContent.cs
- LockedActivityGlyph.cs
- AllowedAudienceUriElementCollection.cs
- WebPartEditorApplyVerb.cs
- DataGridColumnDropSeparator.cs
- TextViewDesigner.cs
- ProviderSettingsCollection.cs
- _SingleItemRequestCache.cs
- CacheManager.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- InputMethodStateTypeInfo.cs
- SafeNativeMethodsCLR.cs
- SafeFileMappingHandle.cs
- NamespaceInfo.cs
- CheckPair.cs