IPlaybackControl.FinalServerRetry 方法
定义
通知服务器端异常类实现,所有将被推迟的激活播放至服务器的尝试均已失败,该消息将被移至其最终静止队列。Informs the server-side exception class implementation that all attempts to play back the deferred activation to the server have failed, and the message is about to be moved to its final resting queue.
public:
void FinalServerRetry();
public void FinalServerRetry ();
abstract member FinalServerRetry : unit -> unit
Public Sub FinalServerRetry ()
注解
当消息到达事务死信队列时,COM + 会尝试调用与服务器类相关的服务器端异常处理程序来传递此通知。As messages arrive on the Xact Dead Letter queue, COM+ attempts to invoke a server-side exception handler related to the server class to deliver this notification. 它通过首先调用 FinalServerRetry ,然后在异常处理程序对象中调用 failed 方法的异常处理版本来实现此目的。It does so by first calling FinalServerRetry, then calling the exception handling version of the failed method in the exception handler object. 然后,此异常方法可以执行异常操作,如记录故障、向管理员发送电子邮件或获取客户端补偿操作 (反转先前事务) 的影响。This exception method can then take an exception action, such as recording the failure, sending a mail message to the administrator, or taking client-side compensating action (reversing the effect of an earlier transaction). 服务器对象应该尽力完成此事务。The server object should make every effort to complete this transaction successfully. 否则,重新处理消息需要手动干预。Otherwise, manual intervention is required to reprocess the message. 如果异常方法不成功,则将消息移动到最终的静止队列。If the exception method is not successful, the message is moved to the final resting queue.