SideShowGadget.ContentMissing Event

Occurs when an item of content is missing.

Namespace: Microsoft.SideShow
Assembly: Microsoft.SideShow (in microsoft.sideshow.dll)

Usage

Syntax

'Declaration
Public Event ContentMissing As EventHandler(Of ContentMissingEventArgs)
public event EventHandler<ContentMissingEventArgs> ContentMissing
public:
event EventHandler<ContentMissingEventArgs^>^ ContentMissing {
    void add (EventHandler<ContentMissingEventArgs^>^ value);
    void remove (EventHandler<ContentMissingEventArgs^>^ value);
}
/** @event */
public void add_ContentMissing (EventHandler<ContentMissingEventArgs> value)

/** @event */
public void remove_ContentMissing (EventHandler<ContentMissingEventArgs> value)

Remarks

This event is raised when a device does not have a content item that the device needs to display. Whether or not you receive this event notification depends on the condition of the managed API’s content cache. If the cache is enabled and it contains the content the device is requesting, the cache will provide the content, so you will not receive this event.

Whether or not the managed API’s content cache is enabled depends on how you create the gadget. If you use a constructor that does not have the useCache parameter, then the content cache is enabled, by default. Otherwise, you must specify a value for useCache.

Whether or not the managed API’s content cache contains a particular content item depends on whether you have previously pushed the content to the device, for example by calling AddContent.

Note that the managed API’s content cache is not related to the device cache algorithm, which specifies behavior for the device content cache.

Platforms

Development Platforms

Windows Vista Home Premium, Windows Vista Business, Windows Vista Enterprise, Windows Vista Ultimate

Target Platforms

Windows Vista Home Premium, Windows Vista Business, Windows Vista Enterprise, Windows Vista Ultimate

See Also

Reference

SideShowGadget Class
SideShowGadget Members
Microsoft.SideShow Namespace

Other Resources

About Windows SideShow Gadgets