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
- TrackingMemoryStream.cs
- TdsParameterSetter.cs
- ExpressionList.cs
- DmlSqlGenerator.cs
- StructuredTypeEmitter.cs
- PropertyGridCommands.cs
- prompt.cs
- AnimationClock.cs
- FontStretches.cs
- SpeakInfo.cs
- SiteMapDataSourceView.cs
- QilXmlWriter.cs
- SystemUnicastIPAddressInformation.cs
- ProfileParameter.cs
- ActivationProxy.cs
- StorageRoot.cs
- Header.cs
- TransformerTypeCollection.cs
- SqlIdentifier.cs
- XmlTextReader.cs
- FileVersion.cs
- MaskInputRejectedEventArgs.cs
- WorkflowWebService.cs
- SocketException.cs
- RelationHandler.cs
- Animatable.cs
- TextTreeRootNode.cs
- PointKeyFrameCollection.cs
- GridViewDeletedEventArgs.cs
- EnvelopedPkcs7.cs
- HttpListenerContext.cs
- XmlReaderDelegator.cs
- CodePageUtils.cs
- RootBrowserWindowAutomationPeer.cs
- HyperLinkColumn.cs
- SystemWebCachingSectionGroup.cs
- TextEncodedRawTextWriter.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- UInt32Storage.cs
- HitTestWithPointDrawingContextWalker.cs
- ConstraintStruct.cs
- SelectionBorderGlyph.cs
- NotSupportedException.cs
- Base64WriteStateInfo.cs
- AsyncOperationManager.cs
- HotCommands.cs
- ParallelQuery.cs
- TextPointerBase.cs
- StreamWriter.cs
- querybuilder.cs
- BitmapEffectInputConnector.cs
- ScriptingScriptResourceHandlerSection.cs
- SpnEndpointIdentityExtension.cs
- XmlSchemaCollection.cs
- _ContextAwareResult.cs
- VirtualizingStackPanel.cs
- ProgressPage.cs
- ResourceIDHelper.cs
- VariableQuery.cs
- SessionParameter.cs
- ObjectStateFormatter.cs
- PropertyEmitter.cs
- RequestCachePolicyConverter.cs
- ErasingStroke.cs
- UnaryOperationBinder.cs
- RemoteWebConfigurationHostServer.cs
- EdmSchemaAttribute.cs
- XmlSchemaInclude.cs
- SubclassTypeValidator.cs
- SafeCryptContextHandle.cs
- MimeMapping.cs
- UpWmlPageAdapter.cs
- SecurityDescriptor.cs
- RequestDescription.cs
- Model3D.cs
- TimelineGroup.cs
- DataException.cs
- UnmanagedMemoryStreamWrapper.cs
- DeploymentSectionCache.cs
- Brush.cs
- EntityParameter.cs
- XmlJsonReader.cs
- RequestCachePolicyConverter.cs
- SqlVisitor.cs
- ObjectResult.cs
- UniqueIdentifierService.cs
- InternalDuplexChannelFactory.cs
- QueryableDataSourceView.cs
- DateTimeValueSerializer.cs
- XamlContextStack.cs
- X509Certificate2.cs
- CompensationDesigner.cs
- StorageModelBuildProvider.cs
- QueueTransferProtocol.cs
- GlyphsSerializer.cs
- HMACRIPEMD160.cs
- TargetPerspective.cs
- TextTreeUndoUnit.cs
- Serialization.cs
- AutomationElementIdentifiers.cs