IsolatedStorageFile.GetUserStoreForAssembly 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
호출 코드의 어셈블리 ID에 해당하는 사용자 범위 격리 스토리지를 가져옵니다.
public:
static System::IO::IsolatedStorage::IsolatedStorageFile ^ GetUserStoreForAssembly();
public static System.IO.IsolatedStorage.IsolatedStorageFile GetUserStoreForAssembly();
static member GetUserStoreForAssembly : unit -> System.IO.IsolatedStorage.IsolatedStorageFile
Public Shared Function GetUserStoreForAssembly () As IsolatedStorageFile
반품
호출 코드의 어셈블리 ID에 따라 격리된 스토리지 범위에 해당하는 개체입니다.
예외
격리된 스토리지 권한이 충분히 부여되지 않았습니다.
설명
다른 애플리케이션 내의 동일한 어셈블리는 이 메서드를 사용할 때 항상 동일한 격리된 저장소를 사용합니다.
GetUserStoreForAssembly 는 다음 코드와 기능적으로 동일합니다.
isoFile = IsolatedStorageFile.GetStore(IsolatedStorageScope.Assembly |
IsolatedStorageScope.User, null, null);
isoFile = IsolatedStorageFile.GetStore(IsolatedStorageScope.Assembly Or _
IsolatedStorageScope.User, Nothing, Nothing)
메모
동일한 애플리케이션 도메인 내에서 실행되는 다른 어셈블리에는 항상 고유한 격리 저장소가 있습니다.