IsolatedStorageFileStream.Unlock(Int64, Int64) 方法

定義

允許其他處理程序存取先前鎖定之檔案的全部或一部分。

public:
 override void Unlock(long position, long length);
public override void Unlock (long position, long length);
[System.Runtime.Versioning.UnsupportedOSPlatform("macos")]
public override void Unlock (long position, long length);
override this.Unlock : int64 * int64 -> unit
[<System.Runtime.Versioning.UnsupportedOSPlatform("macos")>]
override this.Unlock : int64 * int64 -> unit
Public Overrides Sub Unlock (position As Long, length As Long)

參數

position
Int64

要取消鎖定之範圍的開始位置。 這個參數的值必須等於或大於 0 (零)。

length
Int64

要解除鎖定的位元組數目。

屬性

例外狀況

positionlength 為負。

適用於