Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / CompMod / System / ComponentModel / DoWorkEventArgs.cs / 1 / 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
- FatalException.cs
- OdbcConnectionFactory.cs
- DbConnectionClosed.cs
- StreamGeometry.cs
- FormParameter.cs
- PropertyEmitterBase.cs
- WebPartManagerInternals.cs
- QilTernary.cs
- WindowsIdentity.cs
- XsltSettings.cs
- AssertFilter.cs
- System.Data_BID.cs
- ObjectDataSourceDisposingEventArgs.cs
- BitFlagsGenerator.cs
- SiteMapPath.cs
- HttpWebRequest.cs
- ActivationWorker.cs
- WebPartsSection.cs
- PointHitTestParameters.cs
- DataServiceRequest.cs
- GorillaCodec.cs
- ProfileBuildProvider.cs
- LoginCancelEventArgs.cs
- RelationshipType.cs
- Helper.cs
- TextElementEnumerator.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- DataObjectPastingEventArgs.cs
- ObjectDataSourceMethodEventArgs.cs
- SQLBinaryStorage.cs
- Span.cs
- X509CertificateValidator.cs
- XmlSchemaCompilationSettings.cs
- controlskin.cs
- MaskDescriptors.cs
- ContentOperations.cs
- WebPartZoneCollection.cs
- __Error.cs
- XmlAnyAttributeAttribute.cs
- DefaultBinder.cs
- AssertUtility.cs
- Suspend.cs
- TextBounds.cs
- CustomValidator.cs
- XmlDataImplementation.cs
- XPathNodeInfoAtom.cs
- MatrixKeyFrameCollection.cs
- JsonQueryStringConverter.cs
- ApplicationHost.cs
- XmlDataSourceView.cs
- LinearGradientBrush.cs
- DbConnectionHelper.cs
- XmlReturnWriter.cs
- ShellProvider.cs
- GraphicsContainer.cs
- TcpProcessProtocolHandler.cs
- SemaphoreFullException.cs
- EtwTrace.cs
- PrintDialog.cs
- PageStatePersister.cs
- BaseServiceProvider.cs
- DeclaredTypeValidatorAttribute.cs
- ScriptingScriptResourceHandlerSection.cs
- selecteditemcollection.cs
- ExpressionEditorAttribute.cs
- Errors.cs
- SchemaCollectionPreprocessor.cs
- TrailingSpaceComparer.cs
- RoleGroup.cs
- DataGridViewCellEventArgs.cs
- MenuItemCollection.cs
- XmlNode.cs
- PersonalizationProviderHelper.cs
- FormClosingEvent.cs
- CookielessData.cs
- TemplateGroupCollection.cs
- DataGrid.cs
- DocumentGrid.cs
- MailHeaderInfo.cs
- ComponentRenameEvent.cs
- BitSet.cs
- TextBox.cs
- NoResizeHandleGlyph.cs
- WebPartDisplayModeCollection.cs
- FolderBrowserDialog.cs
- Process.cs
- CornerRadiusConverter.cs
- ClientSettingsSection.cs
- SecurityContext.cs
- Paragraph.cs
- Constraint.cs
- WaitForChangedResult.cs
- XmlSchemas.cs
- RoleManagerModule.cs
- SimpleRecyclingCache.cs
- WebServiceHost.cs
- DiffuseMaterial.cs
- XmlSchemaGroupRef.cs
- BaseParagraph.cs
- XPathArrayIterator.cs