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
- UnsafeNativeMethods.cs
- ServiceContractAttribute.cs
- ActiveXContainer.cs
- Int32KeyFrameCollection.cs
- DataGridViewRowCollection.cs
- OdbcUtils.cs
- ListViewGroupItemCollection.cs
- MetadataItemEmitter.cs
- IISUnsafeMethods.cs
- Attributes.cs
- BindUriHelper.cs
- ColumnTypeConverter.cs
- AudioFileOut.cs
- DoubleLinkList.cs
- RadialGradientBrush.cs
- CommandBindingCollection.cs
- DynamicControl.cs
- SymLanguageType.cs
- PropertyValueChangedEvent.cs
- InputEventArgs.cs
- Pen.cs
- LoginName.cs
- Configuration.cs
- recordstatescratchpad.cs
- Configuration.cs
- PrintDocument.cs
- Compilation.cs
- RepeatEnumerable.cs
- OptionUsage.cs
- Transactions.cs
- XmlDocumentFieldSchema.cs
- InputReport.cs
- SqlCacheDependencyDatabaseCollection.cs
- infer.cs
- XmlSerializerSection.cs
- StatementContext.cs
- ServicePointManagerElement.cs
- NameValueFileSectionHandler.cs
- TextStore.cs
- DefinitionBase.cs
- BuildResult.cs
- ScopeCollection.cs
- DesignSurface.cs
- TeredoHelper.cs
- XPathMultyIterator.cs
- EditorPartChrome.cs
- AnimationException.cs
- DataGridViewColumnEventArgs.cs
- cache.cs
- SignatureHelper.cs
- DBNull.cs
- StringSource.cs
- TemplateNameScope.cs
- RsaKeyIdentifierClause.cs
- RefreshPropertiesAttribute.cs
- AvTrace.cs
- TraceSection.cs
- AppearanceEditorPart.cs
- PolicyStatement.cs
- ApplicationSettingsBase.cs
- ZipFileInfoCollection.cs
- DoubleAnimation.cs
- ResourceDescriptionAttribute.cs
- EditorPartChrome.cs
- TaskbarItemInfo.cs
- EntityDataSourceMemberPath.cs
- ConfigXmlSignificantWhitespace.cs
- ReadOnlyAttribute.cs
- RequestCacheEntry.cs
- WmfPlaceableFileHeader.cs
- TextEmbeddedObject.cs
- SelectionItemPattern.cs
- DCSafeHandle.cs
- AttributeEmitter.cs
- MobileControlBuilder.cs
- XmlSerializationReader.cs
- DoubleLink.cs
- smtppermission.cs
- Int32RectConverter.cs
- BrowsableAttribute.cs
- CounterSet.cs
- SortExpressionBuilder.cs
- ObjectNotFoundException.cs
- InertiaExpansionBehavior.cs
- ByteConverter.cs
- CrossAppDomainChannel.cs
- CryptoApi.cs
- CodeMemberProperty.cs
- BaseTypeViewSchema.cs
- __ComObject.cs
- FixUpCollection.cs
- PreviewKeyDownEventArgs.cs
- Pen.cs
- SchemaMapping.cs
- ResourcePool.cs
- InvalidPropValue.cs
- ResourceIDHelper.cs
- FormatConvertedBitmap.cs
- CompiledELinqQueryState.cs
- WizardSideBarListControlItem.cs