Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / Microsoft / Win32 / SessionSwitchEventArgs.cs / 1305376 / 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. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RemotingServices.cs
- DllNotFoundException.cs
- EnumType.cs
- SingletonConnectionReader.cs
- CustomMenuItemCollection.cs
- Win32KeyboardDevice.cs
- MobileCapabilities.cs
- HeaderLabel.cs
- ToolTipService.cs
- _NegoStream.cs
- CmsInterop.cs
- CapacityStreamGeometryContext.cs
- QilNode.cs
- DropShadowEffect.cs
- RegexGroupCollection.cs
- Cloud.cs
- ProcessHostFactoryHelper.cs
- FrugalMap.cs
- MouseEventArgs.cs
- MouseEvent.cs
- InfoCardProofToken.cs
- InProcStateClientManager.cs
- PersonalizableAttribute.cs
- ListBox.cs
- EntityViewContainer.cs
- SiteMapHierarchicalDataSourceView.cs
- StreamedWorkflowDefinitionContext.cs
- DbConnectionPoolOptions.cs
- TextCompositionEventArgs.cs
- CodeMemberMethod.cs
- EntityCollection.cs
- VirtualPathProvider.cs
- EntitySet.cs
- DesignTimeTemplateParser.cs
- TextShapeableCharacters.cs
- ActivityPropertyReference.cs
- HttpResponseHeader.cs
- ControlPropertyNameConverter.cs
- DbConnectionOptions.cs
- ChangeDirector.cs
- WebControl.cs
- XmlElement.cs
- Camera.cs
- UserControl.cs
- XPathParser.cs
- FactoryGenerator.cs
- PlatformCulture.cs
- ToolStripCustomTypeDescriptor.cs
- Control.cs
- HandlerMappingMemo.cs
- HeaderedItemsControl.cs
- ProfileEventArgs.cs
- ImageList.cs
- DelegateTypeInfo.cs
- StringFunctions.cs
- DeviceFilterDictionary.cs
- TokenBasedSetEnumerator.cs
- ThreadExceptionEvent.cs
- UserMapPath.cs
- AnnotationComponentChooser.cs
- RegexRunnerFactory.cs
- BoolLiteral.cs
- SafeHandle.cs
- Match.cs
- NullableIntMinMaxAggregationOperator.cs
- ScriptingRoleServiceSection.cs
- OpenTypeLayoutCache.cs
- ListView.cs
- HttpCapabilitiesBase.cs
- DigestTraceRecordHelper.cs
- MobileUITypeEditor.cs
- Camera.cs
- Vector3DAnimationBase.cs
- _DigestClient.cs
- ThreadStaticAttribute.cs
- BinHexEncoder.cs
- StrongNameSignatureInformation.cs
- XmlNodeChangedEventArgs.cs
- SafeNativeMethods.cs
- ProfessionalColors.cs
- DataGridItemAutomationPeer.cs
- GridViewActionList.cs
- SchemaImporter.cs
- XPathCompiler.cs
- SiteOfOriginPart.cs
- WeakReferenceKey.cs
- EdmMember.cs
- SQLCharsStorage.cs
- ConfigXmlAttribute.cs
- cryptoapiTransform.cs
- CacheAxisQuery.cs
- EqualityComparer.cs
- DesignerDataParameter.cs
- SourceCollection.cs
- SequentialOutput.cs
- DoWorkEventArgs.cs
- TableColumn.cs
- MILUtilities.cs
- WebServiceResponse.cs
- QueryCacheEntry.cs