Share via


IResourceManager.ResourceNotFound Event

Definition

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) 

Event Type

Applies to

See also