Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- HotCommands.cs
- HwndStylusInputProvider.cs
- SQLBoolean.cs
- SystemTcpStatistics.cs
- ObfuscationAttribute.cs
- SHA384.cs
- SqlClientWrapperSmiStreamChars.cs
- NativeMethodsCLR.cs
- DynamicArgumentDialog.cs
- MessageLogger.cs
- OleAutBinder.cs
- RecommendedAsConfigurableAttribute.cs
- AdapterDictionary.cs
- XmlElementAttributes.cs
- ImageKeyConverter.cs
- StatusBar.cs
- NameValueCollection.cs
- EntityDataSourceDesigner.cs
- ManagementEventWatcher.cs
- IgnoreDeviceFilterElement.cs
- HelpEvent.cs
- RegexBoyerMoore.cs
- DecimalAnimationUsingKeyFrames.cs
- XmlNullResolver.cs
- _IPv4Address.cs
- CapabilitiesState.cs
- ChildTable.cs
- SchemaImporterExtensionElementCollection.cs
- DataGridViewCellStateChangedEventArgs.cs
- IndexOutOfRangeException.cs
- DynamicMetaObjectBinder.cs
- WorkflowApplicationCompletedEventArgs.cs
- KeyValueConfigurationElement.cs
- TypeFieldSchema.cs
- ZoneButton.cs
- DataSourceBooleanViewSchemaConverter.cs
- IndexedGlyphRun.cs
- DataTemplate.cs
- ResolveCriteria11.cs
- Facet.cs
- FacetValueContainer.cs
- Misc.cs
- ActivityInfo.cs
- UserControlBuildProvider.cs
- PhotoPrintingIntent.cs
- mongolianshape.cs
- TextParagraphProperties.cs
- SourceFilter.cs
- SafeReversePInvokeHandle.cs
- LogEntrySerializationException.cs
- SecurityTokenProvider.cs
- StatusCommandUI.cs
- Transform3D.cs
- ServiceRoute.cs
- Fault.cs
- FilteredAttributeCollection.cs
- EntityDataSourceMemberPath.cs
- DescendantQuery.cs
- WebUtility.cs
- SchemaImporter.cs
- CodeValidator.cs
- WebPartMovingEventArgs.cs
- EntryIndex.cs
- AccessKeyManager.cs
- NamedPermissionSet.cs
- LinearKeyFrames.cs
- WindowsTokenRoleProvider.cs
- ProvidersHelper.cs
- followingquery.cs
- EraserBehavior.cs
- CriticalHandle.cs
- EdmItemCollection.cs
- CodeMemberMethod.cs
- XmlWriterSettings.cs
- CorrelationToken.cs
- BrushMappingModeValidation.cs
- SqlClientWrapperSmiStream.cs
- EntityModelSchemaGenerator.cs
- LinqDataView.cs
- UTF32Encoding.cs
- SettingsPropertyIsReadOnlyException.cs
- MasterPageCodeDomTreeGenerator.cs
- SQLSingleStorage.cs
- DataRecordInfo.cs
- WinEventTracker.cs
- StagingAreaInputItem.cs
- MimeParameters.cs
- DiscoveryEndpointElement.cs
- DocumentPageHost.cs
- XmlElementCollection.cs
- dataobject.cs
- XmlJsonWriter.cs
- TableProviderWrapper.cs
- XmlNodeChangedEventManager.cs
- ExpressionDumper.cs
- basecomparevalidator.cs
- XmlSchemaAttributeGroupRef.cs
- PenLineCapValidation.cs
- WindowVisualStateTracker.cs
- cache.cs