Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / Microsoft / Win32 / SessionEndingEventArgs.cs / 1 / SessionEndingEventArgs.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 SessionEndingEventArgs : EventArgs { private bool cancel; private readonly SessionEndReasons reason; ///Provides data for the ///event. /// public SessionEndingEventArgs(SessionEndReasons reason) { this.reason = reason; } ///Initializes a new instance of the ///class. /// public bool Cancel { get { return cancel; } set { cancel = value; } } ///Gets or sets a value indicating whether to cancel the user request to end the session. ////// public SessionEndReasons Reason { get { return reason; } } } }Gets how the session is ending. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Point3DCollectionValueSerializer.cs
- ModifyActivitiesPropertyDescriptor.cs
- PathGeometry.cs
- QuaternionAnimationBase.cs
- DrawingBrush.cs
- NetWebProxyFinder.cs
- ListViewContainer.cs
- DeclarativeCatalogPart.cs
- SafeCoTaskMem.cs
- IsolatedStorage.cs
- ColumnWidthChangingEvent.cs
- UIElement3D.cs
- GraphicsState.cs
- SatelliteContractVersionAttribute.cs
- WebControl.cs
- DbParameterCollection.cs
- EventHandlingScope.cs
- ReferentialConstraint.cs
- HttpStaticObjectsCollectionWrapper.cs
- BCryptNative.cs
- WebRequest.cs
- ICspAsymmetricAlgorithm.cs
- CorrelationTokenInvalidatedHandler.cs
- NativeMethodsOther.cs
- WorkflowServiceInstance.cs
- DrawingVisualDrawingContext.cs
- SecurityCriticalDataForSet.cs
- TreeNodeClickEventArgs.cs
- StoreAnnotationsMap.cs
- KeyValuePair.cs
- DataGridViewColumnStateChangedEventArgs.cs
- Constants.cs
- GridProviderWrapper.cs
- TitleStyle.cs
- ExpandCollapsePattern.cs
- BitmapMetadataBlob.cs
- FontConverter.cs
- MethodBuilder.cs
- CompModHelpers.cs
- EventLogger.cs
- XmlDomTextWriter.cs
- ConfigPathUtility.cs
- ConsoleKeyInfo.cs
- Annotation.cs
- RuntimeEnvironment.cs
- DataGridViewColumnHeaderCell.cs
- GuidConverter.cs
- SqlFactory.cs
- DataSourceHelper.cs
- WindowPattern.cs
- XslCompiledTransform.cs
- ConfigLoader.cs
- ComboBoxItem.cs
- CapabilitiesUse.cs
- EncryptedXml.cs
- XamlUtilities.cs
- AsymmetricCryptoHandle.cs
- HelpProvider.cs
- UpdatePanelTrigger.cs
- PeerNameRegistration.cs
- BrowserTree.cs
- PersonalizableAttribute.cs
- ADMembershipUser.cs
- DataBindingHandlerAttribute.cs
- _StreamFramer.cs
- ProtocolsConfigurationHandler.cs
- Choices.cs
- sqlmetadatafactory.cs
- WriteFileContext.cs
- RightNameExpirationInfoPair.cs
- ReachVisualSerializerAsync.cs
- PerformanceCountersElement.cs
- SimpleHandlerFactory.cs
- LazyTextWriterCreator.cs
- DeviceContext.cs
- BitmapEffect.cs
- XmlSchemaAttributeGroup.cs
- OutputCacheSettingsSection.cs
- FileDataSourceCache.cs
- WorkingDirectoryEditor.cs
- ErrorFormatter.cs
- Tokenizer.cs
- SystemIPv4InterfaceProperties.cs
- UnsafeNativeMethods.cs
- TextAutomationPeer.cs
- PlainXmlSerializer.cs
- CreateUserWizardStep.cs
- ServerValidateEventArgs.cs
- _StreamFramer.cs
- CuspData.cs
- SingleKeyFrameCollection.cs
- ConfigXmlSignificantWhitespace.cs
- RegexCode.cs
- ReadOnlyAttribute.cs
- LinkClickEvent.cs
- TraceLevelStore.cs
- SplitterEvent.cs
- SmtpException.cs
- Executor.cs
- RunInstallerAttribute.cs