NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

FileStream.Unlock

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

[Visual Basic]
Overridable Public Sub Unlock( _
   ByVal position As Long, _
   ByVal length As Long _
)
[C#]
public virtual void Unlock(
   long position,
   long length
);
[C++]
public: virtual void Unlock(
   __int64 position,
   __int64 length
);
[JScript]
public function Unlock(
   position : long,
   length : long
);

Parameters

position
[To be supplied.]
length
[To be supplied.]

Exceptions

Exception Type Condition
ArgumentOutOfRangeException position or length are negative.

See Also

FileStream Class | FileStream Members | System.IO Namespace