This method also throws IsolatedStorageException in the following situations:
The application identity of the caller could not be determined because AppDomain.CurrentDomain.ActivationContext returned a null reference (Nothing in Visual Basic).
-or-
The granted permission set for the AppDomain could not be determined.