Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IsolatedStorageFileStream.Unlock Method

.NET Framework 4.6 and 4.5

Allows other processes to access all or part of a file that was previously locked.

Namespace:  System.IO.IsolatedStorage
Assembly:  mscorlib (in mscorlib.dll)

public override void Unlock(
	long position,
	long length
)

Parameters

position
Type: System.Int64

The starting position of the range to unlock. The value of this parameter must be equal to or greater than 0 (zero).

length
Type: System.Int64

The number of bytes to unlock.

ExceptionCondition
ArgumentOutOfRangeException

position or length is negative.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft