ProvideServiceAttributeBase.IsCacheable Property
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.
Indicates to the shell service layer that it may cache the service. This is more of a formality for MPF provided services because MPF itself caches the service so your service creation callback is never called more than once. This will provide a slight performance improvement by eliminating a native -> managed transition on service request. If you have no compelling reason to set this to false, this should be set to true. Future versions may default this to true.
public:
property bool IsCacheable { bool get(); void set(bool value); };
public bool IsCacheable { get; set; }
member this.IsCacheable : bool with get, set
Public Property IsCacheable As Boolean