Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / Microsoft / Win32 / SessionEndingEventArgs.cs / 1305376 / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets how the session is ending. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WorkflowRuntime.cs
- ManipulationDeltaEventArgs.cs
- TextBox.cs
- GeneralTransform.cs
- AutoSizeComboBox.cs
- SelectionEditingBehavior.cs
- UnsafeNativeMethods.cs
- Buffer.cs
- Transform3D.cs
- _ProxyChain.cs
- Cursors.cs
- SoapDocumentMethodAttribute.cs
- MediaPlayerState.cs
- TrailingSpaceComparer.cs
- MessageDecoder.cs
- VerticalConnector.xaml.cs
- ConfigurationStrings.cs
- CachedPathData.cs
- AsymmetricSignatureFormatter.cs
- ExceptionUtil.cs
- DataGridViewRowsRemovedEventArgs.cs
- XmlArrayAttribute.cs
- PropertyMap.cs
- HashMembershipCondition.cs
- ReturnValue.cs
- DependencyObjectValidator.cs
- _RequestCacheProtocol.cs
- CompilationUtil.cs
- LineServicesCallbacks.cs
- WindowCollection.cs
- InternalBufferManager.cs
- SchemaImporterExtension.cs
- ComplexBindingPropertiesAttribute.cs
- SerialStream.cs
- WebMessageBodyStyleHelper.cs
- DataRowView.cs
- OpenTypeCommon.cs
- DateTimeSerializationSection.cs
- SqlCharStream.cs
- PngBitmapDecoder.cs
- Internal.cs
- MergeFilterQuery.cs
- CookieProtection.cs
- ExpressionWriter.cs
- InternalsVisibleToAttribute.cs
- CodeGeneratorOptions.cs
- WebHttpSecurityModeHelper.cs
- MediaPlayerState.cs
- cookie.cs
- IntegerFacetDescriptionElement.cs
- PrefixHandle.cs
- ConnectionStringsSection.cs
- Crc32.cs
- XmlSchemaComplexContent.cs
- FontNameEditor.cs
- HandledEventArgs.cs
- ToggleButton.cs
- TextEndOfLine.cs
- QuaternionAnimationBase.cs
- ContainerParaClient.cs
- RawKeyboardInputReport.cs
- EventSourceCreationData.cs
- SingleResultAttribute.cs
- cache.cs
- ClientConfigurationHost.cs
- StickyNoteAnnotations.cs
- FormatSettings.cs
- StringComparer.cs
- Aggregates.cs
- PageClientProxyGenerator.cs
- RoleGroup.cs
- XmlCharacterData.cs
- ListParagraph.cs
- objectquery_tresulttype.cs
- ActiveDocumentEvent.cs
- ServiceNameElement.cs
- SqlProfileProvider.cs
- FlowDecisionDesigner.xaml.cs
- HashHelper.cs
- WebPartConnection.cs
- DirectoryLocalQuery.cs
- PixelFormats.cs
- InvalidCastException.cs
- ConditionalAttribute.cs
- DesignerCategoryAttribute.cs
- ProviderManager.cs
- ZipArchive.cs
- NetworkAddressChange.cs
- UrlMapping.cs
- FontNamesConverter.cs
- ExpressionHelper.cs
- SafeProcessHandle.cs
- RepeatBehavior.cs
- ConfigurationManagerHelper.cs
- DocumentSequenceHighlightLayer.cs
- HttpListener.cs
- HttpModulesInstallComponent.cs
- sortedlist.cs
- ActivityWithResultWrapper.cs
- ErasingStroke.cs