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
- WebMethodAttribute.cs
- FloatSumAggregationOperator.cs
- ProfileProvider.cs
- LocalizabilityAttribute.cs
- InvalidAsynchronousStateException.cs
- ConfigurationElementCollection.cs
- UserControl.cs
- HtmlEmptyTagControlBuilder.cs
- StylusPlugin.cs
- DataControlButton.cs
- InputLanguageSource.cs
- RelationshipFixer.cs
- SqlDataRecord.cs
- StorageFunctionMapping.cs
- BinHexEncoding.cs
- VectorAnimation.cs
- QueryComponents.cs
- QueueException.cs
- AnnotationStore.cs
- DefaultValidator.cs
- Types.cs
- DesignConnection.cs
- ExtensionQuery.cs
- XmlAttributeOverrides.cs
- _RegBlobWebProxyDataBuilder.cs
- AnimationClockResource.cs
- ReadOnlyCollectionBase.cs
- SQLInt32.cs
- ContainerParagraph.cs
- TableAutomationPeer.cs
- DataBindEngine.cs
- TreeIterators.cs
- SplitterPanel.cs
- ExtensionMethods.cs
- TabControlEvent.cs
- X509CertificateChain.cs
- ManipulationInertiaStartingEventArgs.cs
- BaseDataList.cs
- MaterialCollection.cs
- ApplicationServiceHelper.cs
- BamlBinaryReader.cs
- XPathDocument.cs
- Vector3DCollection.cs
- CrossAppDomainChannel.cs
- NavigationService.cs
- NestedContainer.cs
- Rotation3D.cs
- PtsContext.cs
- HTMLTagNameToTypeMapper.cs
- OracleBoolean.cs
- ErrorRuntimeConfig.cs
- CryptoHandle.cs
- WorkflowLayouts.cs
- DataGridViewColumnHeaderCell.cs
- DataServiceEntityAttribute.cs
- ProviderSettingsCollection.cs
- URLString.cs
- SecondaryIndexList.cs
- OleDragDropHandler.cs
- ObjRef.cs
- ChangeProcessor.cs
- ActivationProxy.cs
- DeviceSpecific.cs
- MouseGestureValueSerializer.cs
- PointAnimation.cs
- UnlockInstanceAsyncResult.cs
- ArraySet.cs
- PageAsyncTaskManager.cs
- TagPrefixInfo.cs
- X509SubjectKeyIdentifierClause.cs
- TextDecorationCollectionConverter.cs
- DataTableMapping.cs
- WebServiceParameterData.cs
- MessageQueueException.cs
- InputProcessorProfilesLoader.cs
- UserPersonalizationStateInfo.cs
- ResourcePool.cs
- WebPartCollection.cs
- RC2CryptoServiceProvider.cs
- PolyLineSegment.cs
- HtmlGenericControl.cs
- OuterProxyWrapper.cs
- NullableLongMinMaxAggregationOperator.cs
- OdbcConnectionOpen.cs
- ParameterElementCollection.cs
- ExtensionQuery.cs
- OLEDB_Enum.cs
- BitmapSource.cs
- ObjectListItemCollection.cs
- WeakHashtable.cs
- StorageComplexTypeMapping.cs
- SafeRightsManagementHandle.cs
- StateDesigner.CommentLayoutGlyph.cs
- PtsHelper.cs
- NaturalLanguageHyphenator.cs
- ListViewInsertedEventArgs.cs
- MemoryFailPoint.cs
- GroupBox.cs
- SpnEndpointIdentityExtension.cs
- HandlerMappingMemo.cs