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
- DesigntimeLicenseContextSerializer.cs
- FunctionDescription.cs
- uribuilder.cs
- WindowAutomationPeer.cs
- ObjectSpanRewriter.cs
- AssemblyInfo.cs
- ProfilePropertySettings.cs
- ReferencedCollectionType.cs
- AdPostCacheSubstitution.cs
- HtmlEncodedRawTextWriter.cs
- ChildTable.cs
- DataGridSortCommandEventArgs.cs
- HtmlListAdapter.cs
- Component.cs
- Drawing.cs
- XmlDomTextWriter.cs
- ConstNode.cs
- RightsManagementEncryptedStream.cs
- XmlLinkedNode.cs
- OdbcEnvironmentHandle.cs
- SocketElement.cs
- DoubleLinkList.cs
- __Filters.cs
- BasicExpressionVisitor.cs
- Point3DCollection.cs
- PointLight.cs
- AsyncCodeActivityContext.cs
- SortDescriptionCollection.cs
- EditorPartChrome.cs
- HostedElements.cs
- CommandHelper.cs
- PointF.cs
- PathParser.cs
- PageSetupDialog.cs
- WebBrowserEvent.cs
- DynamicObject.cs
- TabControl.cs
- SqlDataAdapter.cs
- SubstitutionList.cs
- XmlSchemaObjectCollection.cs
- PageHandlerFactory.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- WebPartConnection.cs
- ServiceModelExtensionCollectionElement.cs
- EntityDataSourceViewSchema.cs
- _SslState.cs
- ListSourceHelper.cs
- TraceContextEventArgs.cs
- GPPOINTF.cs
- XmlDataContract.cs
- SplitterEvent.cs
- DataChangedEventManager.cs
- DependencySource.cs
- SafeSystemMetrics.cs
- JsonWriterDelegator.cs
- Misc.cs
- LabelLiteral.cs
- Literal.cs
- UIAgentMonitorHandle.cs
- HtmlInputFile.cs
- SystemWebSectionGroup.cs
- TaiwanLunisolarCalendar.cs
- comcontractssection.cs
- TabletCollection.cs
- ExportOptions.cs
- WebPartEditVerb.cs
- Debug.cs
- GridViewColumnHeader.cs
- SqlCommand.cs
- xml.cs
- StatusBarPanel.cs
- UnauthorizedWebPart.cs
- QilReplaceVisitor.cs
- SchemaLookupTable.cs
- Endpoint.cs
- DrawingImage.cs
- ConversionContext.cs
- DataListItemCollection.cs
- ValidatingPropertiesEventArgs.cs
- UpdatePanel.cs
- GroupItem.cs
- TrackingProfileCache.cs
- TargetControlTypeAttribute.cs
- SafeRightsManagementSessionHandle.cs
- DataServiceQuery.cs
- ContentValidator.cs
- ImageKeyConverter.cs
- XPathPatternParser.cs
- ActivityStateRecord.cs
- ProgressBarRenderer.cs
- HttpDebugHandler.cs
- ListViewGroupConverter.cs
- SyntaxCheck.cs
- ClientScriptManager.cs
- ToolboxItemCollection.cs
- Function.cs
- Util.cs
- RelationshipDetailsCollection.cs
- InstanceDataCollectionCollection.cs
- XPathChildIterator.cs