Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / Microsoft / Win32 / SessionEndedEventArgs.cs / 1305376 / SessionEndedEventArgs.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 SessionEndedEventArgs : EventArgs { private readonly SessionEndReasons reason; ///Provides data for the ///event. /// public SessionEndedEventArgs(SessionEndReasons reason) { this.reason = reason; } ///Initializes a new instance of the ///class. /// public SessionEndReasons Reason { get { return reason; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets how the session ended. ///// 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 SessionEndedEventArgs : EventArgs { private readonly SessionEndReasons reason; ///Provides data for the ///event. /// public SessionEndedEventArgs(SessionEndReasons reason) { this.reason = reason; } ///Initializes a new instance of the ///class. /// public SessionEndReasons Reason { get { return reason; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets how the session ended. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HtmlEncodedRawTextWriter.cs
- SoapIncludeAttribute.cs
- UrlPath.cs
- XmlStringTable.cs
- DecodeHelper.cs
- CheckBoxField.cs
- WebPartZoneBase.cs
- ListItemParagraph.cs
- dsa.cs
- DataGridCell.cs
- DeploymentSection.cs
- UserNameServiceElement.cs
- SpeechAudioFormatInfo.cs
- Material.cs
- ItemCollection.cs
- IntSecurity.cs
- PageThemeParser.cs
- XmlReflectionImporter.cs
- NewArrayExpression.cs
- Literal.cs
- shaperfactoryquerycacheentry.cs
- HashCryptoHandle.cs
- TrustManager.cs
- ShaderEffect.cs
- ContextProperty.cs
- TypeConverterHelper.cs
- SHA1CryptoServiceProvider.cs
- TypeForwardedToAttribute.cs
- WeakReferenceKey.cs
- ConnectionConsumerAttribute.cs
- CatalogPartChrome.cs
- DES.cs
- XmlILConstructAnalyzer.cs
- WebPartEditorApplyVerb.cs
- DataListItem.cs
- SendMailErrorEventArgs.cs
- SoapAttributeOverrides.cs
- StylusButtonCollection.cs
- AttachmentCollection.cs
- ByeOperationCD1AsyncResult.cs
- ListViewEditEventArgs.cs
- ConfigsHelper.cs
- TemplateBaseAction.cs
- SmiEventSink.cs
- ContainerCodeDomSerializer.cs
- ColorInterpolationModeValidation.cs
- DataListCommandEventArgs.cs
- GradientStop.cs
- X509CertificateCollection.cs
- InvokeMethodActivity.cs
- WizardPanel.cs
- Stream.cs
- RepeatBehaviorConverter.cs
- CounterCreationDataCollection.cs
- ContourSegment.cs
- ClearTypeHintValidation.cs
- Unit.cs
- webproxy.cs
- SQLStringStorage.cs
- CompressionTransform.cs
- Parameter.cs
- HtmlControlPersistable.cs
- CompilerState.cs
- EncoderExceptionFallback.cs
- ImageIndexConverter.cs
- RandomNumberGenerator.cs
- ExpressionVisitor.cs
- LinkClickEvent.cs
- MessageSecurityOverMsmq.cs
- XmlDocumentType.cs
- DispatchOperationRuntime.cs
- FlowchartDesignerCommands.cs
- IDispatchConstantAttribute.cs
- OptionUsage.cs
- Overlapped.cs
- BinaryCommonClasses.cs
- GridViewColumnHeaderAutomationPeer.cs
- MatrixTransform.cs
- StorageMappingItemCollection.cs
- XmlArrayItemAttribute.cs
- ListControl.cs
- DesignerForm.cs
- NameValueSectionHandler.cs
- ControlCommandSet.cs
- SchemeSettingElementCollection.cs
- ScrollData.cs
- DelegatedStream.cs
- FloaterBaseParaClient.cs
- SoapClientMessage.cs
- SQLGuidStorage.cs
- ParserHooks.cs
- RequestQueryParser.cs
- CodeIterationStatement.cs
- RunInstallerAttribute.cs
- ControlEvent.cs
- CanExecuteRoutedEventArgs.cs
- PrePostDescendentsWalker.cs
- ChangesetResponse.cs
- WeakReferenceKey.cs
- BasePattern.cs