IResourceManager.ResourceNotFound Event
Definition
Important
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 an attempt to get a resource fails because the specified resource was not found.
// Register
event_token ResourceNotFound(TypedEventHandler<ResourceManager, ResourceNotFoundEventArgs const&> const& handler) const;
// Revoke with event_token
void ResourceNotFound(event_token const* cookie) const;
// Revoke with event_revoker
IResourceManager::ResourceNotFound_revoker ResourceNotFound(auto_revoke_t, TypedEventHandler<ResourceManager, ResourceNotFoundEventArgs const&> const& handler) const;
event TypedEventHandler<ResourceManager,ResourceNotFoundEventArgs> ResourceNotFound;
function onResourceNotFound(eventArgs) { /* Your code */ }
iResourceManager.addEventListener("resourcenotfound", onResourceNotFound);
iResourceManager.removeEventListener("resourcenotfound", onResourceNotFound);
- or -
iResourceManager.onresourcenotfound = onResourceNotFound;
Event ResourceNotFound As TypedEventHandler(Of ResourceManager, ResourceNotFoundEventArgs)