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
- MailMessage.cs
- WebPartMenu.cs
- AffineTransform3D.cs
- XmlMemberMapping.cs
- ActivityContext.cs
- TcpActivation.cs
- TextBox.cs
- PointConverter.cs
- DataFormat.cs
- PropertyEmitter.cs
- OutputWindow.cs
- DropTarget.cs
- TypeConverterHelper.cs
- ListViewHitTestInfo.cs
- SecurityTokenContainer.cs
- RuntimeTransactionHandle.cs
- DesignerValidatorAdapter.cs
- RemoteWebConfigurationHostServer.cs
- CreatingCookieEventArgs.cs
- XmlSerializerAssemblyAttribute.cs
- RadioButtonRenderer.cs
- SQLBytes.cs
- TextTreeRootNode.cs
- CodeSubDirectory.cs
- BufferedGraphics.cs
- Descriptor.cs
- SqlDataSourceStatusEventArgs.cs
- BitmapEffectInputData.cs
- SiteMapDataSourceDesigner.cs
- HtmlInputHidden.cs
- ToggleButton.cs
- QuaternionAnimationUsingKeyFrames.cs
- RegexWorker.cs
- TraceHelpers.cs
- RouteItem.cs
- PropertyMetadata.cs
- HttpRequestCacheValidator.cs
- NumberFormatter.cs
- BitVector32.cs
- OdbcParameterCollection.cs
- FilterElement.cs
- AlternationConverter.cs
- LayoutEngine.cs
- FreezableOperations.cs
- PreDigestedSignedInfo.cs
- TableLayoutSettingsTypeConverter.cs
- DateTimeUtil.cs
- ConstraintManager.cs
- mediaclock.cs
- SpotLight.cs
- BatchStream.cs
- _SslSessionsCache.cs
- ObjectPropertyMapping.cs
- StringSorter.cs
- WhereaboutsReader.cs
- BamlBinaryReader.cs
- WarningException.cs
- SpellerStatusTable.cs
- ControlParameter.cs
- HMACSHA384.cs
- MD5CryptoServiceProvider.cs
- EnumerableValidator.cs
- XmlAggregates.cs
- RegexInterpreter.cs
- X500Name.cs
- PartBasedPackageProperties.cs
- DesignerVerbCollection.cs
- InputBinding.cs
- ScopeCompiler.cs
- WindowsAuthenticationEventArgs.cs
- AnnotationAuthorChangedEventArgs.cs
- HandledMouseEvent.cs
- TextRenderingModeValidation.cs
- ElementHost.cs
- ConstraintStruct.cs
- TimeZone.cs
- Action.cs
- ComboBoxItem.cs
- ISO2022Encoding.cs
- QueryTask.cs
- XMLUtil.cs
- BuildProvider.cs
- WebPartActionVerb.cs
- SchemaElement.cs
- UIElement3D.cs
- DataRelation.cs
- OperandQuery.cs
- PopupControlService.cs
- ManualWorkflowSchedulerService.cs
- Camera.cs
- FunctionDefinition.cs
- RunClient.cs
- URI.cs
- ProgressBarHighlightConverter.cs
- AesCryptoServiceProvider.cs
- XmlCustomFormatter.cs
- FindSimilarActivitiesVerb.cs
- SmiGettersStream.cs
- NetworkCredential.cs
- PartialTrustVisibleAssemblyCollection.cs