IResourceSupplier Interface


Updated: April 27, 2016

Applies To: Windows PowerShell

Provides a mechanism for obtaining a resource string based on a base name and resource identifier.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

Public Interface IResourceSupplier

System_CAPS_pubmethodGetResourceString(String, String)

Gets the resource string that corresponds to a base resource name and resource identifier.

This interface can be implemented by a provider that overrides how the ErrorDetails(IResourceSupplier, String, String, Object()) constructor of the System.Management.Automation.ErrorDetails class retrieves the ErrorDetails.Message text template.

This interface should not be implemented by any code outside of the System.Management.Automation namespace.

Return to top