0
Silverlight는 IsolatedStorageFileStream을 사용하여 파일을 엽니 다.IsolatedStorageFileStream.Lock은 SIlverlight4에서 작동합니까?
IsolatedStorageFileStreamunder NET.4는 VS2010 및 실버 4
아래다음 코드
IsolatedStorageFile isf;
IsolatedStorageFileStream lockStream = new IsolatedStorageFileStream("my.lck", FileMode.OpenOrCreate, isf);
lockStream.Lock(0, 0);
이 쉽도록 다음과 같은 오류가 발생 (하여 FileStream에서 속됨) Lock Method를 지원한다고 주장
'System.IO.IsolatedStorage.IsolatedStorageFileStream' does not contain a definition for 'Lock'
and no extension method 'Lock' accepting a first argument of type 'System.IO.IsolatedStorage.IsolatedStorageFileStream' could be found
(are you missing a using directive or an assembly reference?)