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
- MailWriter.cs
- Pointer.cs
- ScriptResourceAttribute.cs
- OutputCacheSettings.cs
- ComponentEvent.cs
- _RequestCacheProtocol.cs
- ConstraintStruct.cs
- GatewayDefinition.cs
- PartitionResolver.cs
- EntityTypeEmitter.cs
- RangeValidator.cs
- cookie.cs
- FunctionDetailsReader.cs
- ProcessModelInfo.cs
- TypeNameParser.cs
- TerminatorSinks.cs
- SmtpReplyReader.cs
- UserControlParser.cs
- SerializerProvider.cs
- DbDataReader.cs
- NativeRightsManagementAPIsStructures.cs
- MatrixStack.cs
- TrustSection.cs
- DataServiceRequestException.cs
- SchemaExporter.cs
- PointConverter.cs
- EmbeddedObject.cs
- DragSelectionMessageFilter.cs
- XPathMessageContext.cs
- RefType.cs
- MenuAdapter.cs
- PublisherIdentityPermission.cs
- DiscoveryOperationContextExtension.cs
- MatchAllMessageFilter.cs
- DateRangeEvent.cs
- WebPartUserCapability.cs
- DirectionalLight.cs
- NetNamedPipeBindingCollectionElement.cs
- KeyNotFoundException.cs
- ScopelessEnumAttribute.cs
- DataGridViewRowHeaderCell.cs
- CategoryNameCollection.cs
- BamlBinaryWriter.cs
- FontWeights.cs
- BuildProvider.cs
- TextEditorCopyPaste.cs
- DbProviderFactory.cs
- PropertyKey.cs
- ListCollectionView.cs
- ColorConvertedBitmap.cs
- NavigationHelper.cs
- FunctionQuery.cs
- CssStyleCollection.cs
- ResXResourceSet.cs
- RichListBox.cs
- AffineTransform3D.cs
- KeyboardEventArgs.cs
- ModuleElement.cs
- BooleanConverter.cs
- IntSecurity.cs
- FlowLayoutSettings.cs
- WrapPanel.cs
- ImageListImageEditor.cs
- ReadOnlyCollection.cs
- StandardBindingElementCollection.cs
- Enlistment.cs
- CuspData.cs
- ConfigurationValidatorBase.cs
- MultiSelector.cs
- TypeInformation.cs
- InstallHelper.cs
- SmiEventSink_Default.cs
- ProfileModule.cs
- TreeNode.cs
- StylusEditingBehavior.cs
- ColorTranslator.cs
- CodeNamespace.cs
- HttpListenerResponse.cs
- ChannelBinding.cs
- RNGCryptoServiceProvider.cs
- MimeReturn.cs
- _ChunkParse.cs
- ApplicationFileCodeDomTreeGenerator.cs
- EntryWrittenEventArgs.cs
- ellipse.cs
- BooleanExpr.cs
- Update.cs
- AdPostCacheSubstitution.cs
- SkinBuilder.cs
- HashRepartitionEnumerator.cs
- XPathNodeHelper.cs
- ISO2022Encoding.cs
- TimerElapsedEvenArgs.cs
- ReferenceSchema.cs
- SymLanguageVendor.cs
- JsonClassDataContract.cs
- BuildManager.cs
- MethodToken.cs
- RelationshipEndMember.cs
- ElementNotEnabledException.cs