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
- PathSegmentCollection.cs
- __Error.cs
- dtdvalidator.cs
- CombinedGeometry.cs
- SerialErrors.cs
- TransformPattern.cs
- ProviderConnectionPoint.cs
- XmlSchemaSequence.cs
- UInt16Storage.cs
- DataMemberAttribute.cs
- HttpListenerException.cs
- TemplateBindingExtensionConverter.cs
- WebPartVerb.cs
- TabItemWrapperAutomationPeer.cs
- BinarySecretKeyIdentifierClause.cs
- CanonicalFormWriter.cs
- LocationChangedEventArgs.cs
- DisplayInformation.cs
- HitTestParameters.cs
- StdValidatorsAndConverters.cs
- Iis7Helper.cs
- ApplicationManager.cs
- Composition.cs
- BuildResult.cs
- ModelFactory.cs
- NetTcpBindingCollectionElement.cs
- CursorInteropHelper.cs
- Invariant.cs
- EncoderBestFitFallback.cs
- XslTransform.cs
- FileFormatException.cs
- FormsAuthenticationEventArgs.cs
- ObjectDataSourceStatusEventArgs.cs
- SubMenuStyleCollection.cs
- RtfToken.cs
- MD5CryptoServiceProvider.cs
- GetCertificateRequest.cs
- NameObjectCollectionBase.cs
- XmlUtilWriter.cs
- NotificationContext.cs
- MediaPlayerState.cs
- Predicate.cs
- ListViewItemEventArgs.cs
- OptimizedTemplateContentHelper.cs
- parserscommon.cs
- XMLSyntaxException.cs
- BitmapEffectGeneralTransform.cs
- Rfc2898DeriveBytes.cs
- Int64Animation.cs
- PerspectiveCamera.cs
- TextRangeAdaptor.cs
- _Semaphore.cs
- RuleSettingsCollection.cs
- SystemIcons.cs
- RuleSetDialog.cs
- InheritanceContextHelper.cs
- PropertyCollection.cs
- Page.cs
- MarshalByRefObject.cs
- CommentEmitter.cs
- SoapTransportImporter.cs
- ColorContextHelper.cs
- DbParameterCollectionHelper.cs
- Pens.cs
- HttpCookieCollection.cs
- TextParagraphProperties.cs
- CustomErrorCollection.cs
- TableItemPatternIdentifiers.cs
- Label.cs
- HtmlMeta.cs
- ArrowControl.xaml.cs
- SystemWebSectionGroup.cs
- HtmlInputControl.cs
- ConditionalAttribute.cs
- EdmTypeAttribute.cs
- RtfToXamlReader.cs
- CheckBox.cs
- ResourceReferenceExpression.cs
- EventMappingSettingsCollection.cs
- NamedObject.cs
- TextTrailingWordEllipsis.cs
- TrackingDataItemValue.cs
- RemoteWebConfigurationHostStream.cs
- TimelineGroup.cs
- HostingEnvironmentSection.cs
- BitmapInitialize.cs
- SQlBooleanStorage.cs
- OleDbRowUpdatingEvent.cs
- BitmapScalingModeValidation.cs
- EntityRecordInfo.cs
- ListCommandEventArgs.cs
- DynamicField.cs
- ContainsSearchOperator.cs
- CatalogPart.cs
- querybuilder.cs
- BoolExpressionVisitors.cs
- CAGDesigner.cs
- Underline.cs
- KeyInterop.cs
- UnicodeEncoding.cs