Domain. Resource Resolve Event
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the resolution of a resource fails because the resource is not a valid linked or embedded resource in the assembly.
public: event ResolveEventHandler ^ ResourceResolve;
public: virtual event ResolveEventHandler ^ ResourceResolve;
public event ResolveEventHandler? ResourceResolve;
public event ResolveEventHandler ResourceResolve;
[add: System.Security.SecurityCritical] [remove: System.Security.SecurityCritical] public event ResolveEventHandler ResourceResolve;
member this.ResourceResolve : ResolveEventHandler
[<add: System.Security.SecurityCritical>] [<remove: System.Security.SecurityCritical>] member this.ResourceResolve : ResolveEventHandler
Public Custom Event ResourceResolve As ResolveEventHandler
The ResolveEventHandler for this event can attempt to locate the assembly containing the resource and return it.
This event is not raised if resolution fails because no file can be found for a valid linked resource. It is raised if a manifest resource stream cannot be found, but it is not raised if an individual resource key cannot be found.
To register an event handler for this event, you must have the required permissions, or a SecurityException is thrown.
For more information about handling events, see Handling and Raising Events.