The exception message box is implemented by the ExceptionMessageBox class in the Microsoft.ExceptionMessageBox.dll assembly. The default installation directory for this assembly is C:\Program Files\Microsoft SQL Server\90\SDK. The exception message box is documented in the Microsoft.SqlServer.ExceptionMessageBox namespace reference documentation. The following Microsoft SQL Server 2000 samples use the ExceptionMessageBox object during exception handling.
- 活动查看器示例自述文件
- 用于合并复制的销售订单示例
- SMO Samples
请参阅
任务
How to: Program Exception Message Box