Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
コールバックプロシージャーと状態情報を指定して、この ULCommand オブジェクトで記述される SQL 文の非同期実行を開始します。
Public Function BeginExecuteNonQuery( ByVal callback As AsyncCallback, ByVal stateObject As Object ) As IAsyncResult
public IAsyncResult BeginExecuteNonQuery( AsyncCallback callback, object stateObject )
callback コマンドの実行が終了すると起動される System.AsyncCallback デリゲート。コールバックが必要ないことを示すには、NULL (Microsoft Visual Basic の場合は Nothing) を渡します。
stateObject コールバックプロシージャーに渡される、ユーザー定義のステータスオブジェクト。コールバックプロシージャーからこのオブジェクトを取得するには、System.IAsyncResult.AsyncState プロパティを使用します。
ポーリング、結果の待機、または両方に使用できる System.IAsyncResult が返されます。この値は、影響を受けたローの数を返す EndExecuteNonQuery(IAsyncResult) メソッドを起動する場合にも必要です。
ULException クラス コマンドテキストの実行中に発生したエラー。