Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Documents / GetPageNumberCompletedEventArgs.cs / 1305600 / GetPageNumberCompletedEventArgs.cs
//---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // // File: GetPageNumberCompletedEventArgs.cs // // Description: GetPageNumberCompleted event. // // History: // 08/29/2005 : [....] - created. // //--------------------------------------------------------------------------- using System.ComponentModel; // AsyncCompletedEventArgs namespace System.Windows.Documents { ////// GetPageNumberCompleted event handler. /// public delegate void GetPageNumberCompletedEventHandler(object sender, GetPageNumberCompletedEventArgs e); ////// Event arguments for the GetPageNumberCompleted event. /// public class GetPageNumberCompletedEventArgs : AsyncCompletedEventArgs { ////// Constructor. /// /// The parameter passed into the GetPageNumberAsync call. /// The first page number on which the element appears. /// Error occurred during an asynchronous operation. /// Whether an asynchronous operation has been cancelled. /// Unique identifier for the asynchronous task. public GetPageNumberCompletedEventArgs(ContentPosition contentPosition, int pageNumber, Exception error, bool cancelled, object userState) : base(error, cancelled, userState) { _contentPosition = contentPosition; _pageNumber = pageNumber; } ////// The parameter passed into the GetPageNumberAsync call. /// public ContentPosition ContentPosition { get { // Raise an exception if the operation failed or was cancelled. this.RaiseExceptionIfNecessary(); return _contentPosition; } } ////// The first page number on which the element appears. /// public int PageNumber { get { // Raise an exception if the operation failed or was cancelled. this.RaiseExceptionIfNecessary(); return _pageNumber; } } ////// The parameter passed into the GetPageNumberAsync call. /// private readonly ContentPosition _contentPosition; ////// The first page number on which the element appears. /// private readonly int _pageNumber; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // // File: GetPageNumberCompletedEventArgs.cs // // Description: GetPageNumberCompleted event. // // History: // 08/29/2005 : [....] - created. // //--------------------------------------------------------------------------- using System.ComponentModel; // AsyncCompletedEventArgs namespace System.Windows.Documents { ////// GetPageNumberCompleted event handler. /// public delegate void GetPageNumberCompletedEventHandler(object sender, GetPageNumberCompletedEventArgs e); ////// Event arguments for the GetPageNumberCompleted event. /// public class GetPageNumberCompletedEventArgs : AsyncCompletedEventArgs { ////// Constructor. /// /// The parameter passed into the GetPageNumberAsync call. /// The first page number on which the element appears. /// Error occurred during an asynchronous operation. /// Whether an asynchronous operation has been cancelled. /// Unique identifier for the asynchronous task. public GetPageNumberCompletedEventArgs(ContentPosition contentPosition, int pageNumber, Exception error, bool cancelled, object userState) : base(error, cancelled, userState) { _contentPosition = contentPosition; _pageNumber = pageNumber; } ////// The parameter passed into the GetPageNumberAsync call. /// public ContentPosition ContentPosition { get { // Raise an exception if the operation failed or was cancelled. this.RaiseExceptionIfNecessary(); return _contentPosition; } } ////// The first page number on which the element appears. /// public int PageNumber { get { // Raise an exception if the operation failed or was cancelled. this.RaiseExceptionIfNecessary(); return _pageNumber; } } ////// The parameter passed into the GetPageNumberAsync call. /// private readonly ContentPosition _contentPosition; ////// The first page number on which the element appears. /// 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
- UInt64Storage.cs
- WindowsScroll.cs
- BinaryObjectInfo.cs
- Stack.cs
- HwndSubclass.cs
- DbReferenceCollection.cs
- RemotingServices.cs
- ArrangedElement.cs
- HostingEnvironmentException.cs
- StorageConditionPropertyMapping.cs
- Parameter.cs
- TreeNodeBindingCollection.cs
- ProxySimple.cs
- XmlSchemaProviderAttribute.cs
- RowUpdatedEventArgs.cs
- ApplicationException.cs
- CryptoApi.cs
- LeaseManager.cs
- contentDescriptor.cs
- TemplateManager.cs
- DrawingBrush.cs
- StylusPointPropertyId.cs
- ISAPIRuntime.cs
- GatewayDefinition.cs
- Property.cs
- CoTaskMemSafeHandle.cs
- _TimerThread.cs
- ResetableIterator.cs
- Comparer.cs
- ShaperBuffers.cs
- ConfigurationStrings.cs
- TrustSection.cs
- OleDbRowUpdatingEvent.cs
- XmlQuerySequence.cs
- ResXResourceWriter.cs
- XmlDataDocument.cs
- KeyNotFoundException.cs
- ValueUnavailableException.cs
- SqlNotificationRequest.cs
- ParallelForEach.cs
- DiscoveryDefaults.cs
- ResourceWriter.cs
- ParameterCollection.cs
- HtmlInputSubmit.cs
- BitmapDownload.cs
- XPathNavigatorKeyComparer.cs
- CodeNamespaceCollection.cs
- TransformerConfigurationWizardBase.cs
- DbConnectionPoolIdentity.cs
- BaseInfoTable.cs
- TemplateField.cs
- validation.cs
- InvalidDataContractException.cs
- SqlUtils.cs
- ResourceSet.cs
- TrackingRecord.cs
- ObjectDataSourceSelectingEventArgs.cs
- COM2ColorConverter.cs
- PackageRelationshipSelector.cs
- Cloud.cs
- TextEndOfParagraph.cs
- DataGridViewCheckBoxCell.cs
- HtmlLink.cs
- AlternateView.cs
- SortAction.cs
- HelpProvider.cs
- IOThreadScheduler.cs
- ConfigXmlElement.cs
- ObjectDataSourceView.cs
- XPathNodeHelper.cs
- EmptyControlCollection.cs
- XmlIgnoreAttribute.cs
- AnnotationAuthorChangedEventArgs.cs
- ToolStripSplitStackLayout.cs
- Matrix.cs
- OdbcReferenceCollection.cs
- FixedSOMContainer.cs
- Soap.cs
- TypeSemantics.cs
- SchemeSettingElementCollection.cs
- TreeNodeClickEventArgs.cs
- RowUpdatingEventArgs.cs
- webclient.cs
- PrimitiveSchema.cs
- SchemaSetCompiler.cs
- OperationResponse.cs
- XmlSchemaObject.cs
- DodSequenceMerge.cs
- XmlMtomWriter.cs
- HTMLTagNameToTypeMapper.cs
- SiteMapNodeCollection.cs
- WebPartTransformer.cs
- LaxModeSecurityHeaderElementInferenceEngine.cs
- SingleTagSectionHandler.cs
- ColorConvertedBitmapExtension.cs
- DesignTimeData.cs
- ObfuscationAttribute.cs
- TextServicesDisplayAttributePropertyRanges.cs
- RuntimeWrappedException.cs
- UserControlBuildProvider.cs