Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- MembershipPasswordException.cs
- SecurityIdentifierElementCollection.cs
- MsmqOutputMessage.cs
- QuaternionAnimation.cs
- ServicePointManagerElement.cs
- RegexCompiler.cs
- DataService.cs
- SkewTransform.cs
- BooleanFunctions.cs
- DataGridAddNewRow.cs
- CompilerGlobalScopeAttribute.cs
- DrawingBrush.cs
- ObjectDataSourceDisposingEventArgs.cs
- InputReportEventArgs.cs
- GreaterThan.cs
- CodeTypeReferenceCollection.cs
- RegexReplacement.cs
- MetadataPropertyvalue.cs
- PropertyMetadata.cs
- ReadOnlyDataSource.cs
- SmiEventSink_DeferedProcessing.cs
- SqlSupersetValidator.cs
- DataGridViewAccessibleObject.cs
- ObjectTag.cs
- XamlSerializer.cs
- BinaryConverter.cs
- XmlArrayItemAttributes.cs
- NamedElement.cs
- ProxyHelper.cs
- CodeNamespaceImport.cs
- WebRequest.cs
- DesignTimeTemplateParser.cs
- StrokeIntersection.cs
- BitmapEffectRenderDataResource.cs
- Image.cs
- DisableDpiAwarenessAttribute.cs
- SizeFConverter.cs
- FormViewUpdatedEventArgs.cs
- WindowsListViewGroupSubsetLink.cs
- EdmToObjectNamespaceMap.cs
- XmlNodeComparer.cs
- XmlValueConverter.cs
- Model3D.cs
- Int32Rect.cs
- StorageTypeMapping.cs
- DataGridViewCellValueEventArgs.cs
- GridViewRow.cs
- OdbcError.cs
- GraphicsState.cs
- WebEvents.cs
- DateTimeConstantAttribute.cs
- CodeDirectionExpression.cs
- Metadata.cs
- ResourceProviderFactory.cs
- SqlErrorCollection.cs
- NavigationPropertyEmitter.cs
- InfoCardRSACryptoProvider.cs
- PassportAuthentication.cs
- ItemsPanelTemplate.cs
- SelectingProviderEventArgs.cs
- HtmlInputFile.cs
- _ProxyRegBlob.cs
- PropertyNames.cs
- JoinElimination.cs
- XmlQueryContext.cs
- SecurityMode.cs
- SerializationObjectManager.cs
- ListItemParagraph.cs
- SqlConnectionString.cs
- ProcessHostServerConfig.cs
- StyleTypedPropertyAttribute.cs
- XamlPathDataSerializer.cs
- SolidBrush.cs
- Rfc2898DeriveBytes.cs
- SchemaTypeEmitter.cs
- FlowLayoutPanel.cs
- HTMLTagNameToTypeMapper.cs
- PropertyChangingEventArgs.cs
- IntegerFacetDescriptionElement.cs
- RadioButton.cs
- WeakEventManager.cs
- ContainerActivationHelper.cs
- UncommonField.cs
- MgmtConfigurationRecord.cs
- GlobalizationSection.cs
- OracleCommandSet.cs
- UIPermission.cs
- TreeNodeStyleCollection.cs
- DynamicControl.cs
- FileLoadException.cs
- DataGridCaption.cs
- SqlMethodAttribute.cs
- WindowShowOrOpenTracker.cs
- HMACRIPEMD160.cs
- ToolStripDropTargetManager.cs
- ListSortDescriptionCollection.cs
- X509Certificate2Collection.cs
- TextTabProperties.cs
- WindowsRegion.cs
- CancellationTokenRegistration.cs