Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / clr / src / BCL / System / Resources / MissingSatelliteAssemblyException.cs / 1 / MissingSatelliteAssemblyException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: MissingSatelliteAssemblyException ** ** ** Purpose: Exception for a missing satellite assembly needed ** for ultimate resource fallback. This usually ** indicates a setup and/or deployment problem. ** ** ===========================================================*/ using System; using System.Runtime.Serialization; namespace System.Resources { [Serializable()] [System.Runtime.InteropServices.ComVisible(true)] public class MissingSatelliteAssemblyException : SystemException { private String _cultureName; public MissingSatelliteAssemblyException() : base(Environment.GetResourceString("MissingSatelliteAssembly_Default")) { SetErrorCode(__HResults.COR_E_MISSINGSATELLITEASSEMBLY); } public MissingSatelliteAssemblyException(String message) : base(message) { SetErrorCode(__HResults.COR_E_MISSINGSATELLITEASSEMBLY); } public MissingSatelliteAssemblyException(String message, String cultureName) : base(message) { SetErrorCode(__HResults.COR_E_MISSINGSATELLITEASSEMBLY); _cultureName = cultureName; } public MissingSatelliteAssemblyException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_MISSINGSATELLITEASSEMBLY); } protected MissingSatelliteAssemblyException(SerializationInfo info, StreamingContext context) : base (info, context) { } public String CultureName { get { return _cultureName; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: MissingSatelliteAssemblyException ** ** ** Purpose: Exception for a missing satellite assembly needed ** for ultimate resource fallback. This usually ** indicates a setup and/or deployment problem. ** ** ===========================================================*/ using System; using System.Runtime.Serialization; namespace System.Resources { [Serializable()] [System.Runtime.InteropServices.ComVisible(true)] public class MissingSatelliteAssemblyException : SystemException { private String _cultureName; public MissingSatelliteAssemblyException() : base(Environment.GetResourceString("MissingSatelliteAssembly_Default")) { SetErrorCode(__HResults.COR_E_MISSINGSATELLITEASSEMBLY); } public MissingSatelliteAssemblyException(String message) : base(message) { SetErrorCode(__HResults.COR_E_MISSINGSATELLITEASSEMBLY); } public MissingSatelliteAssemblyException(String message, String cultureName) : base(message) { SetErrorCode(__HResults.COR_E_MISSINGSATELLITEASSEMBLY); _cultureName = cultureName; } public MissingSatelliteAssemblyException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_MISSINGSATELLITEASSEMBLY); } protected MissingSatelliteAssemblyException(SerializationInfo info, StreamingContext context) : base (info, context) { } public String CultureName { get { return _cultureName; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MDIWindowDialog.cs
- GlyphInfoList.cs
- AnnotationResourceChangedEventArgs.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- DataColumn.cs
- BitmapEffect.cs
- NamedPipeProcessProtocolHandler.cs
- BaseTemplateCodeDomTreeGenerator.cs
- MsiStyleLogWriter.cs
- XmlMtomWriter.cs
- HttpRequestMessageProperty.cs
- OdbcTransaction.cs
- PropertyChangeTracker.cs
- XmlChildNodes.cs
- TreeNodeCollection.cs
- LocalIdKeyIdentifierClause.cs
- IdleTimeoutMonitor.cs
- JsonDataContract.cs
- ResourcesGenerator.cs
- EntityCollection.cs
- Type.cs
- XmlSchemaAnnotation.cs
- ClearTypeHintValidation.cs
- HttpServerVarsCollection.cs
- QueueProcessor.cs
- ListViewUpdateEventArgs.cs
- HtmlGenericControl.cs
- SerializerWriterEventHandlers.cs
- ElementHostPropertyMap.cs
- RtfToXamlLexer.cs
- StateItem.cs
- ConnectionModeReader.cs
- CustomError.cs
- UIElementIsland.cs
- StateDesigner.Layouts.cs
- UnmanagedBitmapWrapper.cs
- SmiMetaData.cs
- QueryOptionExpression.cs
- FlowDocumentPageViewerAutomationPeer.cs
- DateTimeFormat.cs
- PropertyValueUIItem.cs
- DataStreamFromComStream.cs
- ListViewSelectEventArgs.cs
- Underline.cs
- HttpClientCertificate.cs
- XmlWriterTraceListener.cs
- BindingWorker.cs
- XmlSchemaSimpleContentRestriction.cs
- GlobalDataBindingHandler.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- DBCommandBuilder.cs
- Screen.cs
- EventProviderClassic.cs
- JsonUriDataContract.cs
- StateDesigner.CommentLayoutGlyph.cs
- DataControlFieldCollection.cs
- HttpCookiesSection.cs
- TextDecorationLocationValidation.cs
- SafeNativeMethods.cs
- ColorConverter.cs
- XmlNodeChangedEventManager.cs
- ThreadStateException.cs
- Pen.cs
- BindingWorker.cs
- XmlComplianceUtil.cs
- HttpStreamXmlDictionaryWriter.cs
- EDesignUtil.cs
- DataViewManager.cs
- Switch.cs
- CompareValidator.cs
- ClickablePoint.cs
- SQLConvert.cs
- EntityDataSource.cs
- ResourceDictionaryCollection.cs
- ScriptHandlerFactory.cs
- InputLanguageSource.cs
- ProfilePropertySettings.cs
- GatewayDefinition.cs
- JsonStringDataContract.cs
- SerializationSectionGroup.cs
- TextReader.cs
- XPathChildIterator.cs
- XmlKeywords.cs
- ContactManager.cs
- DataGridColumnCollection.cs
- CursorConverter.cs
- OdbcFactory.cs
- CapabilitiesPattern.cs
- DataColumnCollection.cs
- TrackPoint.cs
- StringTraceRecord.cs
- GenericRootAutomationPeer.cs
- HtmlTableCell.cs
- DataGridViewColumnDesigner.cs
- Vector3DConverter.cs
- UInt16.cs
- DataGridViewCellStyleEditor.cs
- XamlNamespaceHelper.cs
- ApplicationDirectory.cs
- AssemblyResourceLoader.cs