Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Documents / GetPageCompletedEventArgs.cs / 1305600 / 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
- GridViewHeaderRowPresenter.cs
- URI.cs
- ProxyWebPartConnectionCollection.cs
- LinkTarget.cs
- SdlChannelSink.cs
- DateTimeFormatInfoScanner.cs
- LoadRetryHandler.cs
- NativeMethods.cs
- ComponentManagerBroker.cs
- AdjustableArrowCap.cs
- AttachmentService.cs
- ReadOnlyNameValueCollection.cs
- DocumentViewerBaseAutomationPeer.cs
- InputChannel.cs
- MetadataPropertyAttribute.cs
- ObjectContext.cs
- PlainXmlDeserializer.cs
- TextEditor.cs
- PrinterUnitConvert.cs
- HttpListenerElement.cs
- MailMessage.cs
- GeneralTransformGroup.cs
- EdmFunction.cs
- SelectionGlyphBase.cs
- PersonalizationState.cs
- PictureBox.cs
- MouseGesture.cs
- XamlFigureLengthSerializer.cs
- lengthconverter.cs
- SoapObjectWriter.cs
- Bidi.cs
- TypedRowGenerator.cs
- DropDownButton.cs
- PreservationFileReader.cs
- DnsCache.cs
- CryptoApi.cs
- CompensatableTransactionScopeActivity.cs
- MessageSecurityVersion.cs
- IDReferencePropertyAttribute.cs
- XsdCachingReader.cs
- StrongNameIdentityPermission.cs
- AssemblyNameProxy.cs
- CharacterHit.cs
- FileDialog.cs
- ScrollableControl.cs
- QilReplaceVisitor.cs
- LinkTarget.cs
- TypedDatasetGenerator.cs
- QueryResponse.cs
- DbParameterHelper.cs
- Item.cs
- ConfigurationElementProperty.cs
- JoinCqlBlock.cs
- XmlAttributeAttribute.cs
- ConfigViewGenerator.cs
- PageParser.cs
- ServiceTimeoutsElement.cs
- EditorAttributeInfo.cs
- PluralizationService.cs
- WebPartsPersonalizationAuthorization.cs
- ScriptResourceAttribute.cs
- RectAnimationUsingKeyFrames.cs
- WebServiceErrorEvent.cs
- HttpsHostedTransportConfiguration.cs
- TypeUtil.cs
- Rectangle.cs
- DataControlImageButton.cs
- FieldAccessException.cs
- JsonXmlDataContract.cs
- ControlIdConverter.cs
- DbConnectionStringBuilder.cs
- CatchBlock.cs
- BitSet.cs
- SettingsBase.cs
- DesignerHelpers.cs
- Int16KeyFrameCollection.cs
- Substitution.cs
- JournalNavigationScope.cs
- StringOutput.cs
- Activator.cs
- metadatamappinghashervisitor.cs
- BadImageFormatException.cs
- SecurityTokenTypes.cs
- Serializer.cs
- CodeTypeMember.cs
- Parser.cs
- BackStopAuthenticationModule.cs
- CodeCompileUnit.cs
- MetaTableHelper.cs
- DbConnectionPoolCounters.cs
- TextTreeInsertElementUndoUnit.cs
- FlowPosition.cs
- XamlSerializer.cs
- MimeParameter.cs
- MobileErrorInfo.cs
- RectAnimationUsingKeyFrames.cs
- EventSinkHelperWriter.cs
- ConfigurationPropertyCollection.cs
- MoveSizeWinEventHandler.cs
- SrgsOneOf.cs