Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- Debug.cs
- DataSourceControl.cs
- Context.cs
- ListBindableAttribute.cs
- XmlReaderSettings.cs
- WebPartZone.cs
- AccessedThroughPropertyAttribute.cs
- HttpDictionary.cs
- QuaternionKeyFrameCollection.cs
- Pkcs9Attribute.cs
- OpCodes.cs
- SafeArrayTypeMismatchException.cs
- EndPoint.cs
- SimpleExpression.cs
- UnsafeNativeMethods.cs
- FieldMetadata.cs
- TransformedBitmap.cs
- securestring.cs
- TransformationRules.cs
- RelationshipSet.cs
- GZipDecoder.cs
- WebPartTransformerAttribute.cs
- RelationshipType.cs
- OutputScopeManager.cs
- Bold.cs
- ErrorRuntimeConfig.cs
- Focus.cs
- PageParserFilter.cs
- SafeMarshalContext.cs
- InternalRelationshipCollection.cs
- BorderGapMaskConverter.cs
- NamespaceDecl.cs
- SourceInterpreter.cs
- EventManager.cs
- Canvas.cs
- WebPartCollection.cs
- PixelShader.cs
- PrinterSettings.cs
- DataBindingHandlerAttribute.cs
- WebBrowser.cs
- Decorator.cs
- Metafile.cs
- Blend.cs
- HttpApplicationFactory.cs
- KeyedCollection.cs
- ResizingMessageFilter.cs
- MimeParameters.cs
- SqlCacheDependencyDatabase.cs
- DataGridViewCellCollection.cs
- WindowsBrush.cs
- XD.cs
- InsufficientMemoryException.cs
- RegexCaptureCollection.cs
- Decorator.cs
- RenamedEventArgs.cs
- DataTableMapping.cs
- HttpCacheParams.cs
- DeclarationUpdate.cs
- XmlAutoDetectWriter.cs
- DispatcherExceptionFilterEventArgs.cs
- ActivityCodeDomReferenceService.cs
- CodeMemberField.cs
- SourceFilter.cs
- SafeTimerHandle.cs
- ZipArchive.cs
- TextTreeDeleteContentUndoUnit.cs
- ThicknessAnimationBase.cs
- X509CertificateEndpointIdentity.cs
- TextParaLineResult.cs
- WindowsRegion.cs
- TraceHandler.cs
- DataMemberConverter.cs
- TagPrefixInfo.cs
- RouteValueDictionary.cs
- DrawingImage.cs
- mongolianshape.cs
- ReadOnlyCollectionBase.cs
- ComboBoxAutomationPeer.cs
- ClickablePoint.cs
- AuthenticationSection.cs
- Tokenizer.cs
- FormParameter.cs
- GlyphElement.cs
- CodeObject.cs
- FileEnumerator.cs
- documentsequencetextcontainer.cs
- StorageRoot.cs
- OracleBinary.cs
- IODescriptionAttribute.cs
- _NegoState.cs
- XsdDataContractExporter.cs
- BuildProviderUtils.cs
- WebBrowserPermission.cs
- GridViewCancelEditEventArgs.cs
- AlgoModule.cs
- DynamicPhysicalDiscoSearcher.cs
- RegexCompiler.cs
- DbFunctionCommandTree.cs
- SrgsRuleRef.cs
- DbUpdateCommandTree.cs