FileSystemEnumerator<TResult>.ContinueOnError(Int32) 方法

定義

會在衍生類別中覆寫時傳回值,指出是否要繼續執行,或擲回預設的例外狀況。

protected:
 virtual bool ContinueOnError(int error);
protected virtual bool ContinueOnError (int error);
abstract member ContinueOnError : int -> bool
override this.ContinueOnError : int -> bool
Protected Overridable Function ContinueOnError (error As Integer) As Boolean

參數

error
Int32

原生錯誤碼。

傳回

Boolean

true 繼續,false 為指定的錯誤擲回預設例外狀況。

適用於