Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Documents / GetPageCompletedEventArgs.cs / 1 / GetPageCompletedEventArgs.cs
//---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // // File: GetPageCompletedEventArgs.cs // // Description: GetPageCompleted event. // // History: // 08/29/2005 : [....] - created. // //--------------------------------------------------------------------------- using System.ComponentModel; // AsyncCompletedEventArgs namespace System.Windows.Documents { ////// GetPageCompleted event handler. /// public delegate void GetPageCompletedEventHandler(object sender, GetPageCompletedEventArgs e); ////// Event arguments for the GetPageCompleted event. /// public class GetPageCompletedEventArgs : AsyncCompletedEventArgs { ////// Constructor. /// /// The DocumentPage object for the requesed Page. /// The page number of the returned page. /// Error occurred during an asynchronous operation. /// Whether an asynchronous operation has been cancelled. /// Unique identifier for the asynchronous task. public GetPageCompletedEventArgs(DocumentPage page, int pageNumber, Exception error, bool cancelled, object userState) : base(error, cancelled, userState) { _page = page; _pageNumber = pageNumber; } ////// The DocumentPage object for the requesed Page. /// public DocumentPage DocumentPage { get { // Raise an exception if the operation failed or was cancelled. this.RaiseExceptionIfNecessary(); return _page; } } ////// The page number of the returned page. /// public int PageNumber { get { // Raise an exception if the operation failed or was cancelled. this.RaiseExceptionIfNecessary(); return _pageNumber; } } ////// The DocumentPage object for the requesed Page. /// private readonly DocumentPage _page; ////// The page number of the returned page. /// private readonly int _pageNumber; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlEntityReference.cs
- DoubleConverter.cs
- UdpAnnouncementEndpoint.cs
- OracleInfoMessageEventArgs.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- DataViewManagerListItemTypeDescriptor.cs
- SdlChannelSink.cs
- CodeTypeReferenceExpression.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- WebPartDisplayModeCollection.cs
- EntryWrittenEventArgs.cs
- HttpChannelBindingToken.cs
- VisualProxy.cs
- SqlNodeTypeOperators.cs
- Tablet.cs
- TimeStampChecker.cs
- BufferedGraphicsManager.cs
- GZipStream.cs
- XslCompiledTransform.cs
- EncoderReplacementFallback.cs
- ProfileInfo.cs
- SolidBrush.cs
- Options.cs
- Hash.cs
- StaticSiteMapProvider.cs
- ChildrenQuery.cs
- UpdatePanelTrigger.cs
- WebPageTraceListener.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- DataGridViewCellFormattingEventArgs.cs
- MeasureItemEvent.cs
- DataGridRow.cs
- EncodedStreamFactory.cs
- GridProviderWrapper.cs
- ControlDesigner.cs
- Control.cs
- DataSourceControlBuilder.cs
- EnumConverter.cs
- AdornerPresentationContext.cs
- UserPreference.cs
- SqlDependencyUtils.cs
- CardSpacePolicyElement.cs
- HijriCalendar.cs
- ApplicationServicesHostFactory.cs
- ConnectionsZoneDesigner.cs
- ByteConverter.cs
- XmlStringTable.cs
- HandleCollector.cs
- BindingCompleteEventArgs.cs
- PointF.cs
- EntityDataSourceSelectedEventArgs.cs
- Duration.cs
- QilParameter.cs
- DictionaryEditChange.cs
- TimerElapsedEvenArgs.cs
- HwndMouseInputProvider.cs
- BitmapInitialize.cs
- AttachedAnnotationChangedEventArgs.cs
- EntityWrapper.cs
- SchemaImporterExtensionsSection.cs
- DBDataPermissionAttribute.cs
- CryptographicAttribute.cs
- BodyGlyph.cs
- QilInvokeLateBound.cs
- RecordConverter.cs
- HttpProfileGroupBase.cs
- shaperfactoryquerycacheentry.cs
- SimpleExpression.cs
- VisualStyleTypesAndProperties.cs
- documentsequencetextcontainer.cs
- DetailsViewModeEventArgs.cs
- MenuEventArgs.cs
- WizardStepCollectionEditor.cs
- QueryContinueDragEvent.cs
- ChtmlCalendarAdapter.cs
- AssemblyCollection.cs
- WebContext.cs
- ProfileParameter.cs
- ParallelLoopState.cs
- AnnotationComponentManager.cs
- EventSourceCreationData.cs
- ExtensionWindow.cs
- HelpPage.cs
- newitemfactory.cs
- externdll.cs
- AutomationElementCollection.cs
- UserMapPath.cs
- PackUriHelper.cs
- DelegatingConfigHost.cs
- ToolStripComboBox.cs
- CollectionsUtil.cs
- DbParameterCollectionHelper.cs
- InvariantComparer.cs
- FixedSOMGroup.cs
- TextTreeRootNode.cs
- SchemaMapping.cs
- UndoEngine.cs
- CodeTypeConstructor.cs
- PartitionResolver.cs
- DBCommand.cs