Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Resources / MissingSatelliteAssemblyException.cs / 1305376 / 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); } #if FEATURE_SERIALIZATION [System.Security.SecuritySafeCritical] // auto-generated protected MissingSatelliteAssemblyException(SerializationInfo info, StreamingContext context) : base (info, context) { } #endif // FEATURE_SERIALIZATION 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); } #if FEATURE_SERIALIZATION [System.Security.SecuritySafeCritical] // auto-generated protected MissingSatelliteAssemblyException(SerializationInfo info, StreamingContext context) : base (info, context) { } #endif // FEATURE_SERIALIZATION 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
- Parser.cs
- X509CertificateClaimSet.cs
- AssemblyInfo.cs
- MsmqNonTransactedPoisonHandler.cs
- NumberFunctions.cs
- ExtensionSimplifierMarkupObject.cs
- Control.cs
- OperandQuery.cs
- GroupBoxAutomationPeer.cs
- XmlSchemaGroupRef.cs
- SymbolEqualComparer.cs
- AccessDataSourceDesigner.cs
- StylusDownEventArgs.cs
- EntityDesignerDataSourceView.cs
- EndSelectCardRequest.cs
- EraserBehavior.cs
- TypeInitializationException.cs
- FamilyMapCollection.cs
- SafeSecurityHelper.cs
- ButtonColumn.cs
- Rfc2898DeriveBytes.cs
- ToolboxControl.cs
- IPipelineRuntime.cs
- Rect3DConverter.cs
- DocumentSchemaValidator.cs
- LinkedResourceCollection.cs
- DropAnimation.xaml.cs
- ConfigurationException.cs
- UdpDiscoveryEndpoint.cs
- RemoteWebConfigurationHost.cs
- TogglePatternIdentifiers.cs
- RedistVersionInfo.cs
- SByteStorage.cs
- BamlRecordWriter.cs
- NativeMethods.cs
- DescendantQuery.cs
- WizardForm.cs
- DateTimePicker.cs
- HttpRequestMessageProperty.cs
- AccessKeyManager.cs
- entitydatasourceentitysetnameconverter.cs
- ReaderContextStackData.cs
- DSACryptoServiceProvider.cs
- DesignerTextWriter.cs
- EntityObject.cs
- ScrollData.cs
- XmlSerializationReader.cs
- ServiceChannelFactory.cs
- OutOfProcStateClientManager.cs
- ListBox.cs
- DelegatingConfigHost.cs
- PeerNameRegistration.cs
- EventArgs.cs
- Attachment.cs
- KeyboardDevice.cs
- MailAddress.cs
- PasswordTextNavigator.cs
- RegexMatchCollection.cs
- DescriptionAttribute.cs
- MultipleViewPattern.cs
- DynamicValidatorEventArgs.cs
- XmlSubtreeReader.cs
- JsonSerializer.cs
- SelectionPattern.cs
- EventSinkActivity.cs
- ConstNode.cs
- AttributedMetaModel.cs
- loginstatus.cs
- XmlBinaryReaderSession.cs
- MessageParameterAttribute.cs
- DSGeneratorProblem.cs
- InstalledFontCollection.cs
- ZipIORawDataFileBlock.cs
- xdrvalidator.cs
- StreamGeometry.cs
- WindowsRichEdit.cs
- ElementFactory.cs
- Transform.cs
- DbDataSourceEnumerator.cs
- NotifyParentPropertyAttribute.cs
- FieldCollectionEditor.cs
- WS2007HttpBindingCollectionElement.cs
- RefreshPropertiesAttribute.cs
- DataAccessor.cs
- XmlSchemaAttribute.cs
- StringDictionaryEditor.cs
- DependencyPropertyKind.cs
- ValidationRuleCollection.cs
- InkCanvasInnerCanvas.cs
- CodeGotoStatement.cs
- MdiWindowListItemConverter.cs
- BlockCollection.cs
- BindingGroup.cs
- ConnectionsZone.cs
- SwitchAttribute.cs
- ClassicBorderDecorator.cs
- Domain.cs
- EntityClassGenerator.cs
- BinaryUtilClasses.cs
- UrlMappingsSection.cs