SideShowGadget Constructor (Guid, Guid, Boolean)

Initializes a new instance of the SideShowGadget class by using the specified endpoint and gadgetId Guid objects, and the cache.

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

Usage

Syntax

'Declaration
Protected Sub New ( _
    endpointId As Guid, _
    gadgetId As Guid, _
    useCache As Boolean _
)
protected SideShowGadget (
    Guid endpointId,
    Guid gadgetId,
    bool useCache
)
protected:
SideShowGadget (
    Guid endpointId, 
    Guid gadgetId, 
    bool useCache
)
protected SideShowGadget (
    Guid endpointId, 
    Guid gadgetId, 
    boolean useCache
)
protected function SideShowGadget (
    endpointId : Guid, 
    gadgetId : Guid, 
    useCache : boolean
)

Parameters

  • endpointId
    A Guidthat identifies the type of data expected by the Windows SideShow-compatible device.
  • gadgetId
    A Guidthat identifies the gadget that is communicating with the Windows SideShow-compatible device.
  • useCache
    A Boolean that indicates whether the managed API stores content provided by the gadget. See Remarks.

Remarks

Constructors that contain the useCache parameter enable you to turn off the managed API’s content cache by specifying false. If you want the managed API to cache content, you can simply use a similar constructor without the useCache parameter.

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