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
- CodeAttributeArgumentCollection.cs
- SchemaEntity.cs
- CqlParser.cs
- TextRange.cs
- ExpressionBindingCollection.cs
- SqlInternalConnection.cs
- HealthMonitoringSectionHelper.cs
- GenericEnumerator.cs
- OrderedDictionary.cs
- AxWrapperGen.cs
- DataServiceHostFactory.cs
- GridLength.cs
- CodeMethodReturnStatement.cs
- EndpointDispatcherTable.cs
- UIElement3D.cs
- RulePatternOps.cs
- Helpers.cs
- DataRecordInternal.cs
- ApplicationServiceManager.cs
- TextServicesCompartment.cs
- ApplicationSecurityManager.cs
- URLString.cs
- UIElement3D.cs
- FieldAccessException.cs
- ImpersonationContext.cs
- FastEncoderWindow.cs
- Vector3DAnimationBase.cs
- ExtentKey.cs
- MediaSystem.cs
- SettingsProviderCollection.cs
- EntityCommandCompilationException.cs
- _TransmitFileOverlappedAsyncResult.cs
- XmlQuerySequence.cs
- TextLine.cs
- CrossAppDomainChannel.cs
- GeneralTransform.cs
- XmlDictionaryString.cs
- XPathParser.cs
- UnsafeNativeMethodsMilCoreApi.cs
- AuthorizationRuleCollection.cs
- XmlDigitalSignatureProcessor.cs
- WebPartDescription.cs
- SqlUserDefinedAggregateAttribute.cs
- EntityContainer.cs
- SingleAnimation.cs
- ClientRuntimeConfig.cs
- COAUTHINFO.cs
- XPathSelectionIterator.cs
- MethodRental.cs
- TemplatedWizardStep.cs
- ToolStripItem.cs
- NegotiateStream.cs
- TraceHandlerErrorFormatter.cs
- VScrollBar.cs
- ProviderConnectionPointCollection.cs
- AbsoluteQuery.cs
- SafeFindHandle.cs
- ManualResetEvent.cs
- MailWebEventProvider.cs
- keycontainerpermission.cs
- DataGridViewCellCollection.cs
- PolicyManager.cs
- OperationContractGenerationContext.cs
- xsdvalidator.cs
- CustomError.cs
- FormatterConverter.cs
- PrintEvent.cs
- CFStream.cs
- FormsIdentity.cs
- WebPartEditorApplyVerb.cs
- SrgsElementFactoryCompiler.cs
- SqlConnectionString.cs
- JsonDeserializer.cs
- XmlSchemaElement.cs
- ExtendedPropertyDescriptor.cs
- BitmapPalette.cs
- LineInfo.cs
- DnsPermission.cs
- PrintDialog.cs
- ErrorEventArgs.cs
- XmlAnyAttributeAttribute.cs
- SelectionWordBreaker.cs
- MiniLockedBorderGlyph.cs
- Vector3dCollection.cs
- Triplet.cs
- SafeSystemMetrics.cs
- HtmlTernaryTree.cs
- ProcessModuleCollection.cs
- DependencyPropertyKind.cs
- ExplicitDiscriminatorMap.cs
- DataGridViewColumnHeaderCell.cs
- IBuiltInEvidence.cs
- SystemEvents.cs
- ReplacementText.cs
- EventWaitHandle.cs
- StringUtil.cs
- OutputScopeManager.cs
- PointAnimationClockResource.cs
- QilLiteral.cs
- FontFamily.cs