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
- XpsStructure.cs
- ObjectQueryState.cs
- BitmapData.cs
- AttachedPropertyBrowsableAttribute.cs
- TableStyle.cs
- ProfileGroupSettingsCollection.cs
- DrawToolTipEventArgs.cs
- UnSafeCharBuffer.cs
- HtmlUtf8RawTextWriter.cs
- FontResourceCache.cs
- ConnectionPoolManager.cs
- LayoutTableCell.cs
- lengthconverter.cs
- LinearQuaternionKeyFrame.cs
- CachedBitmap.cs
- RecognizeCompletedEventArgs.cs
- MembershipAdapter.cs
- IntAverageAggregationOperator.cs
- SqlInternalConnectionSmi.cs
- StorageComplexTypeMapping.cs
- SemaphoreFullException.cs
- HitTestWithGeometryDrawingContextWalker.cs
- QuadTree.cs
- WindowsTitleBar.cs
- Rfc2898DeriveBytes.cs
- SoapAttributeAttribute.cs
- ObjectQuery.cs
- SynchronizingStream.cs
- OuterGlowBitmapEffect.cs
- BufferModeSettings.cs
- Geometry.cs
- ObjectConverter.cs
- XmlAutoDetectWriter.cs
- DesignerForm.cs
- CompilerGeneratedAttribute.cs
- SSmlParser.cs
- FormDesigner.cs
- LoginName.cs
- SettingsPropertyNotFoundException.cs
- EntitySetBase.cs
- UnsafeNativeMethods.cs
- AjaxFrameworkAssemblyAttribute.cs
- MsmqReceiveHelper.cs
- PackUriHelper.cs
- MouseActionConverter.cs
- EntityDataSourceView.cs
- ChameleonKey.cs
- HtmlImage.cs
- SqlDataSourceCommandEventArgs.cs
- XmlSchemaSimpleContentExtension.cs
- SqlDataReader.cs
- ProfessionalColorTable.cs
- WindowsTooltip.cs
- DataSetFieldSchema.cs
- BinaryFormatter.cs
- DataControlImageButton.cs
- OpCellTreeNode.cs
- CompilerGeneratedAttribute.cs
- ExpandableObjectConverter.cs
- ApplicationTrust.cs
- DoubleStorage.cs
- TimeStampChecker.cs
- LinqDataSourceContextEventArgs.cs
- _CacheStreams.cs
- ComboBox.cs
- DrawingGroupDrawingContext.cs
- Rotation3DAnimationBase.cs
- ConstructorNeedsTagAttribute.cs
- MethodBuilder.cs
- Logging.cs
- TableSectionStyle.cs
- ColumnBinding.cs
- ExtendedProperty.cs
- ConfigurationLockCollection.cs
- SpellerError.cs
- LayoutManager.cs
- NotifyCollectionChangedEventArgs.cs
- ThreadStaticAttribute.cs
- CultureSpecificStringDictionary.cs
- _CacheStreams.cs
- TextSyndicationContentKindHelper.cs
- CommentAction.cs
- SafeRightsManagementHandle.cs
- PageBreakRecord.cs
- BinHexEncoder.cs
- ChildTable.cs
- BitmapMetadata.cs
- ListenerHandler.cs
- JsonStringDataContract.cs
- EndpointInfo.cs
- DbXmlEnabledProviderManifest.cs
- NativeWindow.cs
- Int32CAMarshaler.cs
- UnionExpr.cs
- TextBoxAutomationPeer.cs
- PaperSource.cs
- GPPOINT.cs
- LogRestartAreaEnumerator.cs
- RemoveStoryboard.cs
- EventLog.cs