Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / TrustUi / MS / Internal / documents / Application / XpsViewerException.cs / 1 / XpsViewerException.cs
//---------------------------------------------------------------------------- // //// Copyright (c) Microsoft Corporation. All rights reserved. // // // Description: // The XpsViewerException is thrown when an error occurs in XPS Viewer that // cannot be handled in the application. // // History: // 11/14/2005: [....]: Initial implementation. // //--------------------------------------------------------------------------- using System; using System.Runtime.Serialization; using System.Windows.TrustUI; namespace MS.Internal.Documents.Application { ////// The XpsViewerException is thrown when an error occurs in XPS Viewer /// that cannot be handled in the application. /// [Serializable()] internal class XpsViewerException : Exception { ////// Creates a new instance of XpsViewerException class. /// This constructor initializes the Message property of the new /// instance to a generic message that describes an exception in the /// XPS Viewer. This message takes into account the current system /// culture. /// internal XpsViewerException() : base(SR.Get(SRID.XpsViewerGenericException)) {} ////// Creates a new instance of XpsViewerException class. /// This constructor initializes the Message property of the new /// instance with the specified error message. /// The caller of this constructor is required to ensure that this /// string has been localized for the current system culture. /// /// The message that describes the error. internal XpsViewerException(string message) : base(message) {} ////// Creates a new instance of XpsViewerException class. /// This constructor initializes the Message property of the new /// instance with the specified error message. /// The caller of this constructor is required to ensure that this /// string has been localized for the current system culture. /// The InnerException property is initialized using the /// innerException parameter. /// /// The message that describes the error. /// The exception that is the cause of the /// current exception. internal XpsViewerException(string message, Exception innerException) : base(message, innerException) {} } } // 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
- EventInfo.cs
- XsdCachingReader.cs
- DataGridViewBand.cs
- XPathAxisIterator.cs
- QuaternionRotation3D.cs
- SqlUtil.cs
- CachedCompositeFamily.cs
- AnimatedTypeHelpers.cs
- GridViewCancelEditEventArgs.cs
- ManagedIStream.cs
- DefaultAutoFieldGenerator.cs
- SetIndexBinder.cs
- SettingsContext.cs
- ParallelRangeManager.cs
- InstanceDataCollection.cs
- CodeArrayCreateExpression.cs
- ErrorWrapper.cs
- PackageProperties.cs
- LessThan.cs
- ValidationSummary.cs
- Range.cs
- SslStream.cs
- RSAPKCS1KeyExchangeFormatter.cs
- XsdSchemaFileEditor.cs
- SingleSelectRootGridEntry.cs
- ParentControlDesigner.cs
- SqlRemoveConstantOrderBy.cs
- QilInvokeLateBound.cs
- LayoutEngine.cs
- Authorization.cs
- BrushMappingModeValidation.cs
- ToolStripRenderer.cs
- CustomErrorsSectionWrapper.cs
- Wildcard.cs
- VectorCollectionConverter.cs
- XmlNamespaceMappingCollection.cs
- WindowsImpersonationContext.cs
- SqlMetaData.cs
- ScalarOps.cs
- Literal.cs
- LicenseContext.cs
- StyleXamlParser.cs
- BaseCodeDomTreeGenerator.cs
- SocketPermission.cs
- VirtualPathUtility.cs
- FormatConvertedBitmap.cs
- EntityDataSourceWrapperCollection.cs
- DecimalSumAggregationOperator.cs
- ControlPaint.cs
- IPAddressCollection.cs
- ProgressBar.cs
- Matrix.cs
- CompilationSection.cs
- DateTimeValueSerializerContext.cs
- InvokeMemberBinder.cs
- diagnosticsswitches.cs
- MaskedTextBoxTextEditorDropDown.cs
- EntityDataSourceSelectingEventArgs.cs
- ConfigurationStrings.cs
- ListItemCollection.cs
- Matrix.cs
- BaseParaClient.cs
- Utils.cs
- TypeViewSchema.cs
- RuntimeConfig.cs
- XmlDictionary.cs
- WebReferenceOptions.cs
- FastEncoder.cs
- Switch.cs
- XmlDictionaryReaderQuotas.cs
- COM2IPerPropertyBrowsingHandler.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- ParallelRangeManager.cs
- DataGridHelper.cs
- StaticSiteMapProvider.cs
- CharStorage.cs
- QilTernary.cs
- InertiaExpansionBehavior.cs
- DelegatingConfigHost.cs
- MatchingStyle.cs
- DashStyle.cs
- ToolStrip.cs
- GridLengthConverter.cs
- SelectionItemPattern.cs
- prompt.cs
- Keywords.cs
- SqlUserDefinedTypeAttribute.cs
- Inflater.cs
- MapPathBasedVirtualPathProvider.cs
- basevalidator.cs
- ExternalException.cs
- ObjectQueryProvider.cs
- TypeListConverter.cs
- ParentQuery.cs
- GreenMethods.cs
- TdsValueSetter.cs
- ListSortDescriptionCollection.cs
- SecurityProtocolCorrelationState.cs
- ReadOnlyTernaryTree.cs
- RoleManagerEventArgs.cs