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.GetUserStoreForDomain

Isolated storage corresponding to the application domain identity.

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

Return Value

Instance of IsolatedStorageFile corresponding to the isolated storage scope based on the application domain identity.

Exceptions

Exception Type Condition
SecurityException if sufficient isolated storage permission has not been granted
IsolatedStorageFilePermission if the necessary isolated storage file permission has not been granted

Remarks

Different assemblies running within the same application domain can refer to a common isolated storage scope via this method.

Requirements

NGWS Runtime Security:

IsolatedStorageFilePermission must have scope by application domain

See Also

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