Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CompMod / Microsoft / Win32 / SessionSwitchEventArgs.cs / 1 / SessionSwitchEventArgs.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 SessionSwitchEventArgs : EventArgs { private readonly SessionSwitchReason reason; ///Provides data for the ///event. /// public SessionSwitchEventArgs(SessionSwitchReason reason) { this.reason = reason; } ///Initializes a new instance of the ///class. /// public SessionSwitchReason Reason { get { return reason; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets the reason for the session switch. ///// 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 SessionSwitchEventArgs : EventArgs { private readonly SessionSwitchReason reason; ///Provides data for the ///event. /// public SessionSwitchEventArgs(SessionSwitchReason reason) { this.reason = reason; } ///Initializes a new instance of the ///class. /// public SessionSwitchReason Reason { get { return reason; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets the reason for the session switch. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PreservationFileWriter.cs
- WmiEventSink.cs
- CompressEmulationStream.cs
- StringUtil.cs
- ScriptReferenceBase.cs
- QilReference.cs
- ApplicationServicesHostFactory.cs
- Item.cs
- DataDesignUtil.cs
- DataQuery.cs
- SmtpLoginAuthenticationModule.cs
- ServiceSettingsResponseInfo.cs
- DataViewManagerListItemTypeDescriptor.cs
- XomlCompilerResults.cs
- DefaultMergeHelper.cs
- ExcludePathInfo.cs
- XhtmlBasicLinkAdapter.cs
- ProxyGenerator.cs
- ModelVisual3D.cs
- DoubleIndependentAnimationStorage.cs
- AnnotationResource.cs
- LinearQuaternionKeyFrame.cs
- CompilerInfo.cs
- CodeAttributeDeclaration.cs
- MatrixAnimationBase.cs
- Rfc2898DeriveBytes.cs
- ToolStripOverflowButton.cs
- DataGridViewTopRowAccessibleObject.cs
- XmlUTF8TextReader.cs
- PersonalizationStateInfo.cs
- PropertyValue.cs
- PathTooLongException.cs
- WebSysDefaultValueAttribute.cs
- BehaviorEditorPart.cs
- Resources.Designer.cs
- TextTreeFixupNode.cs
- WebPartHeaderCloseVerb.cs
- HttpAsyncResult.cs
- DBCSCodePageEncoding.cs
- HasRunnableWorkflowEvent.cs
- DockProviderWrapper.cs
- MimeFormReflector.cs
- OracleNumber.cs
- XPathMultyIterator.cs
- CodeCompiler.cs
- StrokeNodeOperations.cs
- HtmlGenericControl.cs
- BufferedWebEventProvider.cs
- BitmapEffectGroup.cs
- SchemaImporterExtensionElement.cs
- FileDetails.cs
- XXXOnTypeBuilderInstantiation.cs
- PageOrientation.cs
- SubclassTypeValidatorAttribute.cs
- ColumnCollection.cs
- DataStorage.cs
- AlignmentYValidation.cs
- CategoryAttribute.cs
- RelatedImageListAttribute.cs
- BreakRecordTable.cs
- ObjectComplexPropertyMapping.cs
- SynchronizedMessageSource.cs
- XmlDocumentType.cs
- TextControlDesigner.cs
- OSFeature.cs
- PropertyMapper.cs
- FileLevelControlBuilderAttribute.cs
- EncoderParameters.cs
- StackOverflowException.cs
- KeyboardEventArgs.cs
- BamlReader.cs
- Separator.cs
- DynamicRouteExpression.cs
- BasicViewGenerator.cs
- FunctionImportMapping.cs
- SizeFConverter.cs
- DataServiceQueryException.cs
- RadioButtonBaseAdapter.cs
- ErrorHandler.cs
- CDSsyncETWBCLProvider.cs
- HtmlControlAdapter.cs
- LinkedResourceCollection.cs
- SourceElementsCollection.cs
- Stacktrace.cs
- MarkerProperties.cs
- IntSecurity.cs
- Span.cs
- LessThanOrEqual.cs
- SubpageParaClient.cs
- TransportElement.cs
- RegularExpressionValidator.cs
- CodeDomLoader.cs
- SqlVisitor.cs
- RegistryPermission.cs
- SizeConverter.cs
- EdmScalarPropertyAttribute.cs
- ForAllOperator.cs
- TableAutomationPeer.cs
- InvalidContentTypeException.cs
- DoubleKeyFrameCollection.cs