共用方式為


onobsolete event

Event handler provided to indicate that the application cache cannot be found.

 

Syntax

 

Event handler parameters

  • handler [in]
    Type: Function

    Event handler

Remarks

If the manifest file can't be found, the cache is considered to be deleted.

If there is more than one event, the obsolete event will be the last one in the sequence.

Alternatively, you could use an anonymous delegate function such as

object.onobsolete = function (e) { … }

where e is the cached event.