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
- InteropEnvironment.cs
- RuntimeCompatibilityAttribute.cs
- XslNumber.cs
- HttpHandlerAction.cs
- PropertyPushdownHelper.cs
- DBCSCodePageEncoding.cs
- IResourceProvider.cs
- ByteKeyFrameCollection.cs
- ButtonAutomationPeer.cs
- DbConnectionPoolOptions.cs
- Encoding.cs
- DataGridRow.cs
- DBNull.cs
- MDIClient.cs
- RawMouseInputReport.cs
- ParameterEditorUserControl.cs
- Track.cs
- TreeNodeConverter.cs
- PreviewPrintController.cs
- ExpressionBindingCollection.cs
- DesignBindingEditor.cs
- DebugView.cs
- Pens.cs
- TypeDescriptor.cs
- TreeNodeSelectionProcessor.cs
- ContentPropertyAttribute.cs
- AttachedAnnotationChangedEventArgs.cs
- TextEndOfParagraph.cs
- RefExpr.cs
- MD5CryptoServiceProvider.cs
- EntityModelBuildProvider.cs
- EventLogLink.cs
- DesignerCommandSet.cs
- Size.cs
- ConsoleCancelEventArgs.cs
- NonSerializedAttribute.cs
- BinaryFormatterSinks.cs
- RegexReplacement.cs
- ComponentCollection.cs
- DataGridViewLinkColumn.cs
- GlyphingCache.cs
- EraserBehavior.cs
- UnsafeNetInfoNativeMethods.cs
- MachineSettingsSection.cs
- BitmapCodecInfo.cs
- PersonalizableAttribute.cs
- WaitHandleCannotBeOpenedException.cs
- Material.cs
- Msmq3PoisonHandler.cs
- Connection.cs
- DefaultMemberAttribute.cs
- MethodAccessException.cs
- SpellerStatusTable.cs
- AnimationException.cs
- SqlWebEventProvider.cs
- Columns.cs
- EventRecord.cs
- MonthCalendar.cs
- PauseStoryboard.cs
- CompilerResults.cs
- RemotingConfigParser.cs
- ReflectionHelper.cs
- MessageSecurityTokenVersion.cs
- EncoderReplacementFallback.cs
- DataGridViewColumnStateChangedEventArgs.cs
- OutOfProcStateClientManager.cs
- SqlCommandBuilder.cs
- Matrix.cs
- DataBindingsDialog.cs
- DataIdProcessor.cs
- ErrorEventArgs.cs
- CodeAttachEventStatement.cs
- ImpersonationContext.cs
- CanExecuteRoutedEventArgs.cs
- ParagraphVisual.cs
- XmlSchema.cs
- MulticastIPAddressInformationCollection.cs
- DataGridViewTextBoxCell.cs
- Timer.cs
- AppDomainManager.cs
- ExeConfigurationFileMap.cs
- ValidatingPropertiesEventArgs.cs
- CompilerLocalReference.cs
- ExpressionBindingCollection.cs
- Italic.cs
- SplitterEvent.cs
- BypassElement.cs
- SuppressIldasmAttribute.cs
- GeometryHitTestParameters.cs
- EntityCommandDefinition.cs
- XPathPatternParser.cs
- ObjectComplexPropertyMapping.cs
- StaticFileHandler.cs
- WpfKnownMemberInvoker.cs
- SettingsSection.cs
- CheckableControlBaseAdapter.cs
- SiteMapPath.cs
- URIFormatException.cs
- VirtualDirectoryMappingCollection.cs
- UriSection.cs