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
- RegisteredHiddenField.cs
- ChameleonKey.cs
- MessageFilter.cs
- FileAuthorizationModule.cs
- BinaryCommonClasses.cs
- DataRecordObjectView.cs
- WindowsTooltip.cs
- StatusBarDrawItemEvent.cs
- TypeConverterHelper.cs
- HMACSHA512.cs
- StringBuilder.cs
- LexicalChunk.cs
- RuntimeCompatibilityAttribute.cs
- RawStylusInputCustomDataList.cs
- WebPartChrome.cs
- ListViewItemSelectionChangedEvent.cs
- QilInvokeEarlyBound.cs
- XmlSchemaSimpleType.cs
- DataContractSerializerFaultFormatter.cs
- RenderData.cs
- StateRuntime.cs
- ContentElementAutomationPeer.cs
- WithStatement.cs
- CatalogPartCollection.cs
- DockProviderWrapper.cs
- CaseExpr.cs
- SessionPageStatePersister.cs
- StyleSheet.cs
- TypedReference.cs
- CngProvider.cs
- TaiwanCalendar.cs
- HostVisual.cs
- RegistryPermission.cs
- StatusBarPanelClickEvent.cs
- ReachSerializationUtils.cs
- TrustLevelCollection.cs
- EventLogEntry.cs
- Process.cs
- LostFocusEventManager.cs
- TextContainerChangedEventArgs.cs
- FormViewPageEventArgs.cs
- Base64Encoder.cs
- AxImporter.cs
- WebPartPersonalization.cs
- AuthorizationSection.cs
- MetafileHeaderWmf.cs
- BitStream.cs
- EdmComplexTypeAttribute.cs
- Lasso.cs
- Parser.cs
- AttachInfo.cs
- StructuralType.cs
- ContentWrapperAttribute.cs
- XmlKeywords.cs
- WebPartConnectionsConfigureVerb.cs
- RawStylusInput.cs
- XmlWrappingWriter.cs
- initElementDictionary.cs
- ApplicationServiceManager.cs
- FixedSOMTableRow.cs
- Mapping.cs
- DSASignatureDeformatter.cs
- ExpressionBuilderCollection.cs
- ForAllOperator.cs
- RuntimeArgumentHandle.cs
- WebRequestModulesSection.cs
- SqlErrorCollection.cs
- SchemaRegistration.cs
- ReflectTypeDescriptionProvider.cs
- HttpHandler.cs
- ProcessHostServerConfig.cs
- ScriptHandlerFactory.cs
- InvokeMethodActivity.cs
- RuleSettingsCollection.cs
- MetafileHeaderWmf.cs
- ReferencedAssembly.cs
- TreeNodeCollection.cs
- FacetDescription.cs
- ChannelAcceptor.cs
- FactoryId.cs
- PageWrapper.cs
- ClipboardData.cs
- WebPartConnectVerb.cs
- FeedUtils.cs
- AppDomainFactory.cs
- UDPClient.cs
- ConnectionPool.cs
- Thread.cs
- ButtonBase.cs
- OutputCacheProfile.cs
- QueryStack.cs
- WebResponse.cs
- PixelFormats.cs
- ResourceType.cs
- MethodExpr.cs
- BuildManager.cs
- RegexTree.cs
- HorizontalAlignConverter.cs
- UrlRoutingModule.cs
- EventBuilder.cs