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
- PersistNameAttribute.cs
- DataServiceQueryProvider.cs
- LogExtent.cs
- ISCIIEncoding.cs
- BindingsCollection.cs
- COSERVERINFO.cs
- ColumnMapVisitor.cs
- CryptoConfig.cs
- ListDataBindEventArgs.cs
- XmlToDatasetMap.cs
- DbQueryCommandTree.cs
- SoundPlayer.cs
- EntityDataSourceWrapperCollection.cs
- PropertyBuilder.cs
- UIAgentAsyncParams.cs
- RepeaterCommandEventArgs.cs
- WindowsListViewItem.cs
- TextTabProperties.cs
- SafeSystemMetrics.cs
- shaper.cs
- Stack.cs
- SqlUdtInfo.cs
- ProcessInfo.cs
- CellParaClient.cs
- JoinCqlBlock.cs
- ResolvedKeyFrameEntry.cs
- InkCanvasSelection.cs
- UIServiceHelper.cs
- TextRange.cs
- ProjectionCamera.cs
- CodeTypeDelegate.cs
- DataContractSet.cs
- BooleanToVisibilityConverter.cs
- TextEffectCollection.cs
- ValidationPropertyAttribute.cs
- ProvidersHelper.cs
- RenameRuleObjectDialog.cs
- XmlQualifiedNameTest.cs
- StrokeCollection.cs
- HybridObjectCache.cs
- PrimitiveXmlSerializers.cs
- DelimitedListTraceListener.cs
- ResourcePermissionBaseEntry.cs
- sqlnorm.cs
- ApplicationTrust.cs
- GlobalizationSection.cs
- AncillaryOps.cs
- CaseExpr.cs
- FullTextBreakpoint.cs
- SequenceDesigner.cs
- TargetControlTypeCache.cs
- GenericEnumConverter.cs
- ExpressionEditorAttribute.cs
- FeatureSupport.cs
- DefaultValueTypeConverter.cs
- PolicyVersion.cs
- CultureMapper.cs
- RtfToXamlLexer.cs
- RegisteredArrayDeclaration.cs
- Module.cs
- BrowserTree.cs
- ToolStripDropDown.cs
- DurableInstanceProvider.cs
- IsolationInterop.cs
- SqlConnectionManager.cs
- TemplateXamlParser.cs
- FusionWrap.cs
- SoapReflectionImporter.cs
- TimeZone.cs
- TimeoutTimer.cs
- PointConverter.cs
- parserscommon.cs
- EncodingStreamWrapper.cs
- WebUtil.cs
- SiteOfOriginPart.cs
- ReferenceEqualityComparer.cs
- WindowsFormsHostPropertyMap.cs
- TemplateLookupAction.cs
- BaseCollection.cs
- PageSettings.cs
- AlphabetConverter.cs
- CustomCategoryAttribute.cs
- AttributeQuery.cs
- ScriptResourceMapping.cs
- TcpTransportSecurityElement.cs
- ContainerParaClient.cs
- GraphicsState.cs
- Pointer.cs
- AlignmentYValidation.cs
- FieldBuilder.cs
- SqlCommand.cs
- MarkupExtensionParser.cs
- XmlSchemaResource.cs
- LockRecoveryTask.cs
- MergePropertyDescriptor.cs
- CodeMemberField.cs
- Speller.cs
- SecurityPolicySection.cs
- SiteMapHierarchicalDataSourceView.cs
- SafeSecurityHandles.cs