NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IsolatedStorageFile.GetUserStoreForAssembly

Isolated storage corresponding to the code assembly identity.

[Visual Basic]
Public Shared Function GetUserStoreForAssembly() As _
   IsolatedStorageFile
[C#]
public static IsolatedStorageFile GetUserStoreForAssembly();
[C++]
public: static IsolatedStorageFile* GetUserStoreForAssembly();
[JScript]
public static function GetUserStoreForAssembly() :
   IsolatedStorageFile;

Return Value

Instance of IsolatedStorageFile corresponding to the isolated storage scope based on the code assembly identity.

Exceptions

Exception Type Condition
SecurityException if sufficient isolated storage permission has not been granted

Remarks

Different assemblies running within the same application domain will have distinct isolated storage scopes via this method.

Requirements

NGWS Runtime Security:

IsolatedStorageFilePermission must have permission to access isolated storage by application domain identity

See Also

IsolatedStorageFile Class | IsolatedStorageFile Members | System.IO.IsolatedStorage Namespace