Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }Gets the reason for the session switch. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PaperSource.cs
- DataControlImageButton.cs
- TraceUtils.cs
- BufferBuilder.cs
- DataGridViewHeaderCell.cs
- SynchronizationValidator.cs
- CodeBinaryOperatorExpression.cs
- CommonDialog.cs
- AssemblyCollection.cs
- SerializerDescriptor.cs
- PointCollection.cs
- DetailsViewDeletedEventArgs.cs
- ByteRangeDownloader.cs
- Helpers.cs
- ScriptingScriptResourceHandlerSection.cs
- FixedNode.cs
- TextReader.cs
- WindowsTab.cs
- EntityDataSourceState.cs
- DrawListViewColumnHeaderEventArgs.cs
- StorageInfo.cs
- ApplicationServiceHelper.cs
- XmlILIndex.cs
- ElementHostAutomationPeer.cs
- PeerPresenceInfo.cs
- SimpleLine.cs
- DataBindingList.cs
- Marshal.cs
- TreeNodeSelectionProcessor.cs
- FragmentQueryKB.cs
- RtfNavigator.cs
- Listbox.cs
- QueryCursorEventArgs.cs
- DataPagerFieldCommandEventArgs.cs
- TextModifierScope.cs
- TypeInitializationException.cs
- CompositeControl.cs
- Animatable.cs
- EventSinkHelperWriter.cs
- _Events.cs
- RequestCacheManager.cs
- Journal.cs
- XmlEntityReference.cs
- Stylus.cs
- ListViewItem.cs
- ApplicationDirectoryMembershipCondition.cs
- CachingHintValidation.cs
- BamlRecordHelper.cs
- ErrorHandler.cs
- LiteralTextContainerControlBuilder.cs
- AssemblyResourceLoader.cs
- BooleanFunctions.cs
- ChannelManager.cs
- SettingsPropertyCollection.cs
- FormViewInsertEventArgs.cs
- PlaceHolder.cs
- ServiceReference.cs
- SqlGatherProducedAliases.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- Multiply.cs
- Publisher.cs
- AddressAlreadyInUseException.cs
- CompareInfo.cs
- OdbcParameter.cs
- SqlTriggerAttribute.cs
- NoResizeHandleGlyph.cs
- PropertyEmitterBase.cs
- CurrentChangingEventArgs.cs
- XamlReaderHelper.cs
- HandlerMappingMemo.cs
- Registry.cs
- ByteStorage.cs
- AssemblyAssociatedContentFileAttribute.cs
- GrammarBuilderDictation.cs
- unitconverter.cs
- WindowsGraphics.cs
- DocumentPageView.cs
- CollectionExtensions.cs
- OracleDateTime.cs
- SimpleBitVector32.cs
- ToolStripPanelSelectionBehavior.cs
- EmptyQuery.cs
- TypeSource.cs
- TemplateColumn.cs
- TextRenderer.cs
- ThousandthOfEmRealPoints.cs
- CodeIterationStatement.cs
- ReferencedAssembly.cs
- FunctionNode.cs
- TabOrder.cs
- WindowsFormsSectionHandler.cs
- CharacterBufferReference.cs
- MouseEvent.cs
- RowSpanVector.cs
- ListViewItem.cs
- IntSecurity.cs
- BitStream.cs
- Roles.cs
- SoapObjectWriter.cs
- TraceShell.cs