Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UltimateResourceFallbackLocation Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 UltimateResourceFallbackLocation

Member nameDescription
MainAssembly

Fallback resources are located in the main assembly.

Satellite

Fallback 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
Available since 2.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2017 Microsoft