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;
///
/// Provides data for the event.
///
[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;
///
/// Initializes a new instance of the class.
///
public SessionEndedEventArgs(SessionEndReasons reason) {
this.reason = reason;
}
///
/// Gets how the session ended.
///
public SessionEndReasons Reason {
get {
return reason;
}
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TextParagraphView.cs
- ObjectViewListener.cs
- TypeInitializationException.cs
- RectangleHotSpot.cs
- WindowShowOrOpenTracker.cs
- SharedPersonalizationStateInfo.cs
- FontCacheLogic.cs
- StringAttributeCollection.cs
- AbstractExpressions.cs
- HttpHandlersSection.cs
- XmlWellformedWriter.cs
- DisposableCollectionWrapper.cs
- XmlElement.cs
- UTF8Encoding.cs
- KoreanLunisolarCalendar.cs
- BrowserCapabilitiesFactoryBase.cs
- VerticalAlignConverter.cs
- _HeaderInfoTable.cs
- UpdateDelegates.Generated.cs
- Switch.cs
- CustomCredentialPolicy.cs
- Monitor.cs
- TcpSocketManager.cs
- PropertyEmitterBase.cs
- ExpressionBindings.cs
- FixedLineResult.cs
- EmptyControlCollection.cs
- RenderingBiasValidation.cs
- FormsAuthenticationTicket.cs
- Merger.cs
- NetCodeGroup.cs
- SlipBehavior.cs
- PageCodeDomTreeGenerator.cs
- ProvideValueServiceProvider.cs
- AssemblyAttributesGoHere.cs
- NavigationWindow.cs
- WinFormsSpinner.cs
- XmlSerializerSection.cs
- XmlStreamNodeWriter.cs
- ArcSegment.cs
- ExpressionBindings.cs
- SharedDp.cs
- XmlExpressionDumper.cs
- XsdDuration.cs
- SmtpClient.cs
- DataGridItemEventArgs.cs
- ColumnMapVisitor.cs
- HttpCapabilitiesEvaluator.cs
- SqlDataSourceQueryEditor.cs
- TreeViewHitTestInfo.cs
- DirectionalLight.cs
- Command.cs
- CompilerHelpers.cs
- ApplicationContext.cs
- ComplexType.cs
- PreApplicationStartMethodAttribute.cs
- NullableDecimalSumAggregationOperator.cs
- _ListenerAsyncResult.cs
- FormattedText.cs
- CacheVirtualItemsEvent.cs
- CollectionViewGroupRoot.cs
- WebSysDisplayNameAttribute.cs
- WindowsImpersonationContext.cs
- PointLightBase.cs
- StylusEventArgs.cs
- _NegotiateClient.cs
- ListViewHitTestInfo.cs
- BinaryObjectWriter.cs
- XslCompiledTransform.cs
- WeakEventTable.cs
- ArrayTypeMismatchException.cs
- UnsafeNativeMethods.cs
- DefaultPrintController.cs
- WinFormsComponentEditor.cs
- ClientSideQueueItem.cs
- Typeface.cs
- NavigatingCancelEventArgs.cs
- ConvertersCollection.cs
- FixUpCollection.cs
- RelationshipSet.cs
- RemotingConfigParser.cs
- Timeline.cs
- RecordBuilder.cs
- RoutingConfiguration.cs
- FamilyMap.cs
- SourceLineInfo.cs
- EntryWrittenEventArgs.cs
- ObjectIDGenerator.cs
- IsolatedStorageFileStream.cs
- WriterOutput.cs
- KoreanLunisolarCalendar.cs
- BindingCompleteEventArgs.cs
- ExceptionCollection.cs
- IgnoreSection.cs
- ProfilePropertySettingsCollection.cs
- BitmapEffectInputData.cs
- SecureEnvironment.cs
- mediaeventshelper.cs
- HandledEventArgs.cs
- XPathBinder.cs