FileSystemEnumerator<TResult>.ContinueOnError(Int32) 方法

定義

會在衍生類別中覆寫時傳回值,指出是否要繼續執行,或擲回預設的例外狀況。When overriden in a derived class, returns a value that indicates whether to continue execution or throw the default exception.

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

原生錯誤碼。The native error code.

傳回

true 繼續,false 為指定的錯誤擲回預設例外狀況。true to continue; false to throw the default exception for the given error.

適用於