- assembly
- The resource is looked up in this assembly. If the value is null, the resource is looked up in the assembly that calls this method.
- name
- The name of the embedded resource
The image loaded from the specified assembly.
If the passed parameter for assembly is null, then the resource is looked up in the calling assembly using System.Reflection.Assembly.GetCallingAssembly.
This can be used from a background thread.