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
- FormattedTextSymbols.cs
- RegexCompiler.cs
- EntityDataSourceChangingEventArgs.cs
- BaseProcessor.cs
- CompiledAction.cs
- ResourceSet.cs
- WCFBuildProvider.cs
- DataGridViewDesigner.cs
- ExceptionRoutedEventArgs.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- DependencyPropertyDescriptor.cs
- Rect3DConverter.cs
- SynchronizationLockException.cs
- ExpressionLink.cs
- UrlMappingsModule.cs
- WindowsStatic.cs
- ParameterCollection.cs
- RelatedEnd.cs
- Configuration.cs
- HttpListenerPrefixCollection.cs
- SqlLiftIndependentRowExpressions.cs
- ParallelEnumerable.cs
- ViewStateModeByIdAttribute.cs
- PagesSection.cs
- TokenizerHelper.cs
- ListViewDeleteEventArgs.cs
- UriWriter.cs
- WebGetAttribute.cs
- CodePropertyReferenceExpression.cs
- UrlPath.cs
- Material.cs
- ProfilePropertySettings.cs
- ApplicationActivator.cs
- XmlILOptimizerVisitor.cs
- SystemUnicastIPAddressInformation.cs
- UTF32Encoding.cs
- TextFormatterContext.cs
- NativeMethods.cs
- ByteConverter.cs
- RequiredAttributeAttribute.cs
- EnumMemberAttribute.cs
- TextAnchor.cs
- CursorConverter.cs
- VirtualPathData.cs
- validation.cs
- DataObjectAttribute.cs
- DbDataRecord.cs
- AliasGenerator.cs
- AssemblyEvidenceFactory.cs
- AnnotationHelper.cs
- DBSqlParserColumnCollection.cs
- XamlDesignerSerializationManager.cs
- Membership.cs
- Message.cs
- CompareInfo.cs
- DataRelationPropertyDescriptor.cs
- ArrayWithOffset.cs
- Merger.cs
- TextServicesCompartmentContext.cs
- WebPartExportVerb.cs
- XamlTypeMapper.cs
- RootAction.cs
- sqlnorm.cs
- NetworkInformationPermission.cs
- SystemGatewayIPAddressInformation.cs
- TableRowGroupCollection.cs
- ProfileParameter.cs
- Literal.cs
- Size3D.cs
- ParenExpr.cs
- ProxyOperationRuntime.cs
- RemotingConfigParser.cs
- PerspectiveCamera.cs
- XmlNotation.cs
- ComboBox.cs
- AdornerLayer.cs
- _IPv6Address.cs
- PanelStyle.cs
- AggregateNode.cs
- PictureBox.cs
- ThreadSafeList.cs
- XmlAnyElementAttribute.cs
- RedirectionProxy.cs
- EntityDataSourceState.cs
- CanonicalFormWriter.cs
- State.cs
- ReflectionHelper.cs
- SectionRecord.cs
- BinaryQueryOperator.cs
- OneOfConst.cs
- DecryptRequest.cs
- WindowsSecurityToken.cs
- BitmapData.cs
- HttpModulesSection.cs
- ConstrainedDataObject.cs
- VectorAnimationUsingKeyFrames.cs
- XmlSiteMapProvider.cs
- SolidColorBrush.cs
- LoggedException.cs
- ToolStripRenderer.cs