Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / RunWorkerCompletedEventArgs.cs / 1305376 / RunWorkerCompletedEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel { using System.Security.Permissions; [HostProtection(SharedState = true)] public class RunWorkerCompletedEventArgs : AsyncCompletedEventArgs { private object result; public RunWorkerCompletedEventArgs(object result, Exception error, bool cancelled) : base(error, cancelled, null) { this.result = result; } public object Result { get { base.RaiseExceptionIfNecessary(); return result; } } // Hide from editor, since never used. [ Browsable(false), EditorBrowsable(EditorBrowsableState.Never) ] public new object UserState { get { return base.UserState; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel { using System.Security.Permissions; [HostProtection(SharedState = true)] public class RunWorkerCompletedEventArgs : AsyncCompletedEventArgs { private object result; public RunWorkerCompletedEventArgs(object result, Exception error, bool cancelled) : base(error, cancelled, null) { this.result = result; } public object Result { get { base.RaiseExceptionIfNecessary(); return result; } } // Hide from editor, since never used. [ Browsable(false), EditorBrowsable(EditorBrowsableState.Never) ] public new object UserState { get { return base.UserState; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ModifiableIteratorCollection.cs
- ServerIdentity.cs
- ISFClipboardData.cs
- Context.cs
- RefreshPropertiesAttribute.cs
- DBSqlParser.cs
- MessageQueuePermissionAttribute.cs
- MemberMaps.cs
- Helpers.cs
- Timer.cs
- GregorianCalendarHelper.cs
- ColumnClickEvent.cs
- Header.cs
- Compilation.cs
- TCEAdapterGenerator.cs
- TdsEnums.cs
- SqlBulkCopyColumnMapping.cs
- DesignerSerializationOptionsAttribute.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- IdentityHolder.cs
- BaseHashHelper.cs
- FlowchartDesignerCommands.cs
- EntityDataSourceSelectingEventArgs.cs
- MonthChangedEventArgs.cs
- DependencyProperty.cs
- mediaeventargs.cs
- PrimitiveSchema.cs
- KeyInfo.cs
- DiscoveryDocumentSearchPattern.cs
- MoveSizeWinEventHandler.cs
- CertificateManager.cs
- GenericEnumerator.cs
- GroupItemAutomationPeer.cs
- InvalidPrinterException.cs
- FastEncoderWindow.cs
- RemotingConfigParser.cs
- FontDriver.cs
- WaitHandleCannotBeOpenedException.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- SSmlParser.cs
- ReferenceConverter.cs
- TextLineResult.cs
- EditorZoneBase.cs
- handlecollector.cs
- TextEffect.cs
- FamilyTypefaceCollection.cs
- Int64.cs
- LogLogRecord.cs
- Ops.cs
- ProcessManager.cs
- baseaxisquery.cs
- DragSelectionMessageFilter.cs
- Debugger.cs
- CodeNamespaceImport.cs
- HttpApplicationStateBase.cs
- ImageSource.cs
- OleDbErrorCollection.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- InputEventArgs.cs
- X509CertificateCollection.cs
- PropertyPathConverter.cs
- SelectionRange.cs
- BookmarkList.cs
- OrderPreservingPipeliningMergeHelper.cs
- StrongName.cs
- InfoCardListRequest.cs
- ReferenceService.cs
- SQLResource.cs
- AppDomainInfo.cs
- _ContextAwareResult.cs
- StringDictionaryWithComparer.cs
- FormatVersion.cs
- GridViewHeaderRowPresenter.cs
- Configuration.cs
- ToolStripRenderEventArgs.cs
- Rijndael.cs
- CompilerGlobalScopeAttribute.cs
- QuaternionAnimationBase.cs
- SqlDataSourceStatusEventArgs.cs
- PartialArray.cs
- ResXResourceSet.cs
- CharStorage.cs
- HttpDictionary.cs
- LocationUpdates.cs
- SafeSecurityHelper.cs
- QilFactory.cs
- DocumentPage.cs
- FileDialogCustomPlace.cs
- TypeExtension.cs
- ArgIterator.cs
- TargetControlTypeAttribute.cs
- ExpressionPrinter.cs
- TaskHelper.cs
- ExtentCqlBlock.cs
- GetPolicyDetailsRequest.cs
- CursorInteropHelper.cs
- SafeRightsManagementSessionHandle.cs
- Internal.cs
- ToolStripDropDownClosingEventArgs.cs
- Point3DKeyFrameCollection.cs