ILocalResource Interface
Represents the local storage space reserved for a service.

Namespace: Microsoft.ServiceHosting.ServiceRuntime
Assembly: Microsoft.ServiceHosting.ServiceRuntime (in microsoft.servicehosting.serviceruntime.dll)
Usage

Dim instance As ILocalResource
Syntax

Visual Basic
Public Interface ILocalResource
C#
public interface ILocalResource
C++
public interface class ILocalResource
J#
public interface ILocalResource
JScript
public interface ILocalResource
Remarks

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.


Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Server 2008, and Windows 2000

Target Platforms

See Also

Page view tracker