Share via


PipeReader.Complete(Exception) 方法

定義

向取用者發出信號表示消費者已完成讀取。

public abstract void Complete (Exception exception = default);
public abstract void Complete (Exception? exception = default);
abstract member Complete : Exception -> unit
Public MustOverride Sub Complete (Optional exception As Exception = Nothing)

參數

exception
Exception

選擇性 Exception 指出造成管線完成的失敗。

適用於