Click to Rate and Give Feedback

  Switch on low bandwidth view
ILocalResource Interface
[This is preliminary documentation and is subject to change.]

Represents the local storage space reserved for a service.

Namespace: Microsoft.ServiceHosting.ServiceRuntime
Assembly: Microsoft.ServiceHosting.ServiceRuntime (in microsoft.servicehosting.serviceruntime.dll)
Visual Basic (Declaration)
<span class="input">Public</span> <span class="input">Interface</span> <span class="identifier">ILocalResource</span>
C#
<span class="input">public</span> <span class="input">interface</span> <span class="identifier">ILocalResource</span>
C++
<span class="input">public</span> <span class="input">interface class</span> <span class="identifier">ILocalResource</span>
J#
<span class="input">public</span> <span class="input">interface</span> <span class="identifier">ILocalResource</span>
JScript
<span class="input">public</span> <span class="input">interface</span> <span class="identifier">ILocalResource</span>

A service running in the fabric has access to local non-persisted storage on the server. Developers can use the local store for caching data required by the running service.

You can declare a local store for your service in the service description file. Provide a name for the local store, as well as the desired storage size. For more information, see Service Definition Schema.


Development Platforms

Windows Vista, Windows XP Professional with Service Pack 2 (SP2)

Target Platforms

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker