Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
UL 拡張:通知またはタイムアウトをブロックします。
Public Function GetNotification( ByVal queueName As String, ByVal wait_ms As Integer ) As String
public string GetNotification(string queueName, int wait_ms)
queueName 待機するキューの名前。
wait_ms 待機時間 (ミリ秒)。待機時間を無限に設定するには、System.Threading.Timeout.Infinite (-1) を使用します。
待機時間の期限が切れるか、待機がキャンセルされた場合は NULL。それ以外の場合はイベント名。
ULException クラス SQL エラーが発生しました。
このメソッドは、イベント通知を読み込みます。この呼び出しは、通知が受信されるまで、または指定された待機時間が経過するまでブロックします。無期限に待機する場合は、wait_ms パラメータに System.Threading.Timeout.Infinite を渡します。待機をキャンセルするには、指定したキューに別の通知を送信するか、CancelGetNotification メソッドを使用します。通知を読み込んだら、ReadNotificationParameter メソッドを使用して追加のパラメータを取得します。