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
- Int32CollectionConverter.cs
- formatstringdialog.cs
- UnauthorizedAccessException.cs
- CharStorage.cs
- CompoundFileReference.cs
- XamlStackWriter.cs
- AppDomainProtocolHandler.cs
- RoleManagerSection.cs
- AssemblyCollection.cs
- DeviceSpecificDialogCachedState.cs
- CursorConverter.cs
- RadioButton.cs
- InlineCollection.cs
- Int16.cs
- ByteConverter.cs
- StoragePropertyMapping.cs
- ExtendedProperty.cs
- PathFigure.cs
- InvalidProgramException.cs
- NotSupportedException.cs
- ReleaseInstanceMode.cs
- ServiceOperationWrapper.cs
- Stylesheet.cs
- TextOutput.cs
- Storyboard.cs
- JsonCollectionDataContract.cs
- ServiceOperation.cs
- Base64Decoder.cs
- RequestQueryProcessor.cs
- SQLByte.cs
- DesignSurfaceEvent.cs
- EntitySetDataBindingList.cs
- WebScriptServiceHost.cs
- AssemblyHash.cs
- MaskedTextBoxDesignerActionList.cs
- DrawListViewColumnHeaderEventArgs.cs
- DataMisalignedException.cs
- CompiledQuery.cs
- OdbcInfoMessageEvent.cs
- ParseNumbers.cs
- Win32SafeHandles.cs
- RunInstallerAttribute.cs
- XdrBuilder.cs
- WindowHideOrCloseTracker.cs
- TableRow.cs
- UICuesEvent.cs
- EntityClassGenerator.cs
- NumberSubstitution.cs
- NegotiateStream.cs
- HtmlUtf8RawTextWriter.cs
- DetailsViewModeEventArgs.cs
- DeviceContext2.cs
- WindowsIPAddress.cs
- TableLayout.cs
- ControlDesigner.cs
- GraphicsContext.cs
- SafeReversePInvokeHandle.cs
- ProxyElement.cs
- ProcessInputEventArgs.cs
- LinkGrep.cs
- HtmlSelect.cs
- XmlSerializerVersionAttribute.cs
- CompositionTarget.cs
- ContentElementAutomationPeer.cs
- HttpCapabilitiesSectionHandler.cs
- AutomationPattern.cs
- SystemNetworkInterface.cs
- GenericAuthenticationEventArgs.cs
- UIElement3DAutomationPeer.cs
- Int16Converter.cs
- ImageField.cs
- DecoratedNameAttribute.cs
- RegistryPermission.cs
- RelationshipEnd.cs
- ResourcePermissionBaseEntry.cs
- DescriptionAttribute.cs
- XmlnsDictionary.cs
- HtmlInputCheckBox.cs
- Site.cs
- ComboBoxItem.cs
- SqlClientFactory.cs
- OdbcUtils.cs
- DesignerAutoFormatStyle.cs
- WindowsToolbar.cs
- ScalarType.cs
- ReaderContextStackData.cs
- DoubleLink.cs
- CompilerState.cs
- AvTraceFormat.cs
- Camera.cs
- SessionEndingEventArgs.cs
- WebPartDisplayModeCollection.cs
- ClientSettingsProvider.cs
- IisTraceWebEventProvider.cs
- _CookieModule.cs
- RegexStringValidator.cs
- DiscoveryClientDocuments.cs
- HttpWriter.cs
- SecureStringHasher.cs
- SafeHandle.cs