Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / DoWorkEventArgs.cs / 1305376 / DoWorkEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.ComponentModel
{
using System.Security.Permissions;
[HostProtection(SharedState = true)]
public class DoWorkEventArgs : CancelEventArgs
{
private object result;
private object argument;
public DoWorkEventArgs(object argument)
{
this.argument = argument;
}
[ SRDescription(SR.BackgroundWorker_DoWorkEventArgs_Argument) ]
public object Argument
{
get { return argument; }
}
[ SRDescription(SR.BackgroundWorker_DoWorkEventArgs_Result) ]
public object Result
{
get { return result; }
set { result = value; }
}
}
}
// 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 DoWorkEventArgs : CancelEventArgs
{
private object result;
private object argument;
public DoWorkEventArgs(object argument)
{
this.argument = argument;
}
[ SRDescription(SR.BackgroundWorker_DoWorkEventArgs_Argument) ]
public object Argument
{
get { return argument; }
}
[ SRDescription(SR.BackgroundWorker_DoWorkEventArgs_Result) ]
public object Result
{
get { return result; }
set { result = value; }
}
}
}
// 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
- XsltException.cs
- Border.cs
- ContentWrapperAttribute.cs
- DesignerForm.cs
- Block.cs
- JulianCalendar.cs
- SuppressMergeCheckAttribute.cs
- XmlStringTable.cs
- ResourceDisplayNameAttribute.cs
- DataGridViewLinkColumn.cs
- EncryptedType.cs
- ButtonField.cs
- XmlDictionaryWriter.cs
- TextDecoration.cs
- IdentitySection.cs
- ProviderCommandInfoUtils.cs
- _BufferOffsetSize.cs
- SkipStoryboardToFill.cs
- CodeEventReferenceExpression.cs
- SqlCommandSet.cs
- MgmtConfigurationRecord.cs
- RTTypeWrapper.cs
- CustomErrorsSectionWrapper.cs
- RequestReplyCorrelator.cs
- RepeaterItemEventArgs.cs
- TextTrailingWordEllipsis.cs
- BrowserDefinition.cs
- QuerySubExprEliminator.cs
- EditorZoneDesigner.cs
- bindurihelper.cs
- TogglePatternIdentifiers.cs
- updateconfighost.cs
- Peer.cs
- TableLayoutPanel.cs
- BamlMapTable.cs
- Parser.cs
- PeerMessageDispatcher.cs
- DebugView.cs
- WriteableBitmap.cs
- RegistrationServices.cs
- Int64.cs
- DescendentsWalker.cs
- JapaneseLunisolarCalendar.cs
- PrintDialogDesigner.cs
- SamlAuthorityBinding.cs
- HashCodeCombiner.cs
- diagnosticsswitches.cs
- BitmapMetadataBlob.cs
- BitSet.cs
- ImplicitInputBrush.cs
- PointHitTestParameters.cs
- DescendantBaseQuery.cs
- DictionaryBase.cs
- KeyValueConfigurationCollection.cs
- PersonalizationDictionary.cs
- SendMessageRecord.cs
- CookielessData.cs
- FacetValues.cs
- documentsequencetextcontainer.cs
- ChannelFactoryRefCache.cs
- ClientTarget.cs
- ItemAutomationPeer.cs
- XmlAggregates.cs
- CssStyleCollection.cs
- Literal.cs
- CodeBlockBuilder.cs
- RootBuilder.cs
- DataServiceProviderWrapper.cs
- RelationshipEnd.cs
- ClientSideProviderDescription.cs
- DbProviderFactory.cs
- RoleServiceManager.cs
- ComUdtElementCollection.cs
- Padding.cs
- SmiMetaData.cs
- AppSettingsReader.cs
- SymbolEqualComparer.cs
- _NestedSingleAsyncResult.cs
- BasicHttpSecurity.cs
- XpsPartBase.cs
- XmlAnyElementAttribute.cs
- ColumnPropertiesGroup.cs
- MorphHelper.cs
- DataGridViewCell.cs
- BufferModeSettings.cs
- DbCommandTree.cs
- FullTextLine.cs
- EnumBuilder.cs
- AnimationLayer.cs
- InputScope.cs
- RenderDataDrawingContext.cs
- SequentialUshortCollection.cs
- UpdateInfo.cs
- FontCacheLogic.cs
- ExtenderProviderService.cs
- XsltCompileContext.cs
- BatchStream.cs
- XmlHelper.cs
- DataGridViewElement.cs
- InternalDuplexBindingElement.cs