Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / ProgressChangedEventArgs.cs / 1305376 / ProgressChangedEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.ComponentModel
{
using System.Security.Permissions;
[HostProtection(SharedState = true)]
public class ProgressChangedEventArgs : EventArgs
{
private readonly int progressPercentage;
private readonly object userState;
public ProgressChangedEventArgs(int progressPercentage, object userState)
{
this.progressPercentage = progressPercentage;
this.userState = userState;
}
[ SRDescription(SR.Async_ProgressChangedEventArgs_ProgressPercentage) ]
public int ProgressPercentage
{
get { return progressPercentage; }
}
[ SRDescription(SR.Async_ProgressChangedEventArgs_UserState) ]
public object UserState
{
get { return 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
- XmlILAnnotation.cs
- BindingMemberInfo.cs
- FilterQuery.cs
- XD.cs
- HitTestDrawingContextWalker.cs
- DataTableReader.cs
- TokenizerHelper.cs
- TriState.cs
- ConfigurationLocationCollection.cs
- LicenseContext.cs
- WebBrowser.cs
- XmlnsCache.cs
- CanExpandCollapseAllConverter.cs
- ListControl.cs
- HierarchicalDataBoundControlAdapter.cs
- XPathMultyIterator.cs
- counter.cs
- OutputScopeManager.cs
- ProcessHostServerConfig.cs
- BindingContext.cs
- PathFigureCollectionConverter.cs
- WindowCollection.cs
- StaticFileHandler.cs
- TemplateControl.cs
- PenLineJoinValidation.cs
- TextOnlyOutput.cs
- JumpList.cs
- MatrixAnimationUsingPath.cs
- NavigatingCancelEventArgs.cs
- MediaElementAutomationPeer.cs
- XmlCodeExporter.cs
- FlowDocumentPageViewerAutomationPeer.cs
- SerialPort.cs
- DispatchWrapper.cs
- Clause.cs
- EmptyCollection.cs
- XDRSchema.cs
- StateMachineWorkflowInstance.cs
- StructuralType.cs
- ObjectStateEntryDbDataRecord.cs
- ProxyDataContractResolver.cs
- NativeMethods.cs
- UIElementParaClient.cs
- QilVisitor.cs
- _Semaphore.cs
- TextEffectResolver.cs
- ContainerControl.cs
- SortDescriptionCollection.cs
- Matrix3DStack.cs
- FormViewDeletedEventArgs.cs
- MatrixCamera.cs
- Attachment.cs
- TextEditorSelection.cs
- XmlSchemaAttribute.cs
- IdentityHolder.cs
- ResumeStoryboard.cs
- SchemaNames.cs
- SymbolType.cs
- LocatorGroup.cs
- String.cs
- TypeDescriptionProviderAttribute.cs
- AssemblyHash.cs
- ChangePassword.cs
- UnsafeNativeMethods.cs
- Grant.cs
- ToolStripCustomTypeDescriptor.cs
- LocationUpdates.cs
- MetadataPropertyAttribute.cs
- CodePrimitiveExpression.cs
- Visual3D.cs
- TransportListener.cs
- MailAddress.cs
- JsonReaderWriterFactory.cs
- ExtenderHelpers.cs
- WebZone.cs
- ExpressionPrefixAttribute.cs
- PropertySourceInfo.cs
- LogReservationCollection.cs
- InputLanguageSource.cs
- OneOfScalarConst.cs
- TreeNodeBindingDepthConverter.cs
- nulltextcontainer.cs
- FacetValueContainer.cs
- WebSysDescriptionAttribute.cs
- ContainerParagraph.cs
- ScriptManager.cs
- DistinctQueryOperator.cs
- BigIntegerStorage.cs
- DynamicResourceExtensionConverter.cs
- RegexWriter.cs
- ToolStripDropDownClosingEventArgs.cs
- Animatable.cs
- MethodAccessException.cs
- DefaultPrintController.cs
- ListViewContainer.cs
- Size.cs
- StorageEntityContainerMapping.cs
- NodeInfo.cs
- SqlDependencyUtils.cs
- GradientSpreadMethodValidation.cs