public static IsolatedStorageFile GetUserStoreForSite() { // NetFX and Mono both throw for this method throw new NotSupportedException(SR.IsolatedStorage_NotValidOnDesktop); }
public void GetUserStoreForSite_ThrowsNotSupported() { Assert.Throws <NotSupportedException>(() => IsolatedStorageFile.GetUserStoreForSite()); }