次の方法で共有


IDbCommand.Cancel Method

Definition

Attempts to cancel the execution of an IDbCommand.

public:
 void Cancel();
public void Cancel ();
abstract member Cancel : unit -> unit
Public Sub Cancel ()

Remarks

If there is nothing to cancel, nothing happens. If there is a command in process, and the attempt to cancel fails, an exception is thrown.

Applies to