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
- ExpandedWrapper.cs
- AssemblyInfo.cs
- ReferencedAssembly.cs
- ObjectQueryProvider.cs
- TryExpression.cs
- ResourcePermissionBase.cs
- HwndHost.cs
- SoapIgnoreAttribute.cs
- StylusPointCollection.cs
- ActivityPropertyReference.cs
- FaultCode.cs
- LoginCancelEventArgs.cs
- MediaScriptCommandRoutedEventArgs.cs
- CombinedGeometry.cs
- SmiGettersStream.cs
- PageBreakRecord.cs
- WsdlImporter.cs
- BinHexEncoder.cs
- WebPartEditorOkVerb.cs
- XmlElementCollection.cs
- CompModHelpers.cs
- PickBranchDesigner.xaml.cs
- InkCanvas.cs
- CodeExpressionCollection.cs
- StylusEventArgs.cs
- MarkupCompilePass2.cs
- StrokeRenderer.cs
- DecoderReplacementFallback.cs
- DependencyPropertyKind.cs
- BamlTreeNode.cs
- EDesignUtil.cs
- GcSettings.cs
- SafeSystemMetrics.cs
- FtpCachePolicyElement.cs
- CheckedListBox.cs
- TransformGroup.cs
- DecoderFallback.cs
- StringValueSerializer.cs
- UniqueConstraint.cs
- control.ime.cs
- X509ScopedServiceCertificateElement.cs
- SingleTagSectionHandler.cs
- Int32RectValueSerializer.cs
- NonBatchDirectoryCompiler.cs
- BitStream.cs
- ColumnWidthChangedEvent.cs
- UnmanagedMarshal.cs
- ThreadStartException.cs
- Update.cs
- FilterQueryOptionExpression.cs
- SymbolEqualComparer.cs
- PerformanceCounter.cs
- DateTimeFormat.cs
- XmlSchemaAny.cs
- SqlClientWrapperSmiStream.cs
- EntityDataSourceUtil.cs
- XslException.cs
- ISCIIEncoding.cs
- ExtensionQuery.cs
- ChildrenQuery.cs
- Variable.cs
- ObservableDictionary.cs
- PropertyRef.cs
- ImageListUtils.cs
- SplayTreeNode.cs
- ColumnTypeConverter.cs
- EFColumnProvider.cs
- SqlConnectionString.cs
- LeaseManager.cs
- StrokeCollectionConverter.cs
- Pool.cs
- AudioSignalProblemOccurredEventArgs.cs
- LogManagementAsyncResult.cs
- TypeSystem.cs
- VersionedStream.cs
- ThicknessKeyFrameCollection.cs
- MD5.cs
- ISAPIRuntime.cs
- TheQuery.cs
- ServerIdentity.cs
- WmlLabelAdapter.cs
- CodeMemberMethod.cs
- BaseParagraph.cs
- ComponentDispatcher.cs
- TextBoxAutoCompleteSourceConverter.cs
- ISFTagAndGuidCache.cs
- XmlLangPropertyAttribute.cs
- IResourceProvider.cs
- AssemblyHash.cs
- UnaryQueryOperator.cs
- InstanceStoreQueryResult.cs
- SAPICategories.cs
- PerfProviderCollection.cs
- TextBounds.cs
- IPipelineRuntime.cs
- AdRotatorDesigner.cs
- PrincipalPermissionMode.cs
- List.cs
- ParamArrayAttribute.cs
- MessageQueueAccessControlEntry.cs