UltimateResourceFallbackLocation Enumeration

Specifies whether a ResourceManager object looks for the resources of the app's default culture in the main assembly or in a satellite assembly.

Namespace:  System.Resources
Assembly:  mscorlib (in mscorlib.dll)

[SerializableAttribute]
[ComVisibleAttribute(true)]
public enum class UltimateResourceFallbackLocation

Member nameDescription
MainAssemblyFallback resources are located in the main assembly.
SatelliteFallback resources are located in a satellite assembly.

The UltimateResourceFallbackLocation enumeration is used with the NeutralResourcesLanguageAttribute::NeutralResourcesLanguageAttribute(String, UltimateResourceFallbackLocation) constructor to specify whether a ResourceManager object retrieves the resources of the app's default culture from the main app assembly (the default), or from a satellite assembly. In a localized application, the resources of the default culture are used if no culture-specific resources are found after using the resource fallback process. For more information, see the "Resource Fallback Process" section in Packaging and Deploying Resources in Desktop Apps.

If you specify a value of MainAssembly or no value to the NeutralResourcesLanguageAttribute attribute and resource manager cannot load a resource set that belongs to the default culture, it throws a MissingManifestResourceException exception. If you specify a value of Satellite to the NeutralResourcesLanguageAttribute and resource manager cannot load a resource set that belongs to the default culture, it throws a MissingSatelliteAssemblyException exception.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft