Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / Microsoft / Win32 / SessionEndedEventArgs.cs / 1305376 / 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;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Multiply.cs
- SiteMapNode.cs
- DeviceSpecific.cs
- GCHandleCookieTable.cs
- SynchronousChannel.cs
- Triangle.cs
- InfoCardRSACryptoProvider.cs
- IItemProperties.cs
- LineSegment.cs
- SQLString.cs
- InheritablePropertyChangeInfo.cs
- PageHandlerFactory.cs
- SequentialActivityDesigner.cs
- SchemaManager.cs
- Path.cs
- ShimAsPublicXamlType.cs
- RegexTree.cs
- SQLInt64.cs
- SqlUserDefinedAggregateAttribute.cs
- ServiceOperationParameter.cs
- UrlEncodedParameterWriter.cs
- Condition.cs
- ScrollViewerAutomationPeer.cs
- PublishLicense.cs
- ResourcePermissionBase.cs
- SafeNativeMethods.cs
- TextChangedEventArgs.cs
- SupportsEventValidationAttribute.cs
- RuntimeEnvironment.cs
- CommentAction.cs
- SecurityContext.cs
- HtmlProps.cs
- TimerEventSubscriptionCollection.cs
- QueryProcessor.cs
- EntityContainerAssociationSet.cs
- PieceDirectory.cs
- ErrorHandler.cs
- CodeSnippetExpression.cs
- JavaScriptString.cs
- ClassValidator.cs
- StatusBar.cs
- MetadataPropertyAttribute.cs
- ObjectDataSourceEventArgs.cs
- Console.cs
- DataService.cs
- TimeStampChecker.cs
- XmlSchemaValidationException.cs
- BuildResult.cs
- AuthStoreRoleProvider.cs
- RegexGroupCollection.cs
- LabelDesigner.cs
- AsyncContentLoadedEventArgs.cs
- SoapCommonClasses.cs
- RegisterResponseInfo.cs
- WebEventCodes.cs
- ImageSourceConverter.cs
- WebRequestModuleElementCollection.cs
- DBSqlParser.cs
- _ChunkParse.cs
- TraceHwndHost.cs
- ParameterEditorUserControl.cs
- PenThread.cs
- EntityDataSourceChangedEventArgs.cs
- ConnectionProviderAttribute.cs
- IPHostEntry.cs
- SiteIdentityPermission.cs
- BindingObserver.cs
- BookmarkManager.cs
- HttpStreamMessage.cs
- MbpInfo.cs
- ScrollBarAutomationPeer.cs
- XMLSyntaxException.cs
- MD5Cng.cs
- WindowsListView.cs
- TextDecorationCollectionConverter.cs
- AnnotationResourceCollection.cs
- PageContent.cs
- FormClosedEvent.cs
- EntityDesignerBuildProvider.cs
- ProfilePropertySettings.cs
- RtfNavigator.cs
- ConditionalDesigner.cs
- XmlExpressionDumper.cs
- GraphicsState.cs
- DataGridTablesFactory.cs
- XmlSchemaType.cs
- FSWPathEditor.cs
- ChannelProtectionRequirements.cs
- WebUtil.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- WindowsHyperlink.cs
- ManifestSignatureInformation.cs
- ForEachAction.cs
- StringStorage.cs
- ArrayElementGridEntry.cs
- QueueProcessor.cs
- Int64Animation.cs
- Int64KeyFrameCollection.cs
- PersonalizationProvider.cs
- DataObject.cs