Share via


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ExceptionReceivedEventArgs(Exception, String) 构造函数

定义

初始化 ExceptionReceivedEventArgs 类的新实例。

public ExceptionReceivedEventArgs (Exception exception, string action);
new Microsoft.ServiceBus.Messaging.ExceptionReceivedEventArgs : Exception * string -> Microsoft.ServiceBus.Messaging.ExceptionReceivedEventArgs
Public Sub New (exception As Exception, action As String)

参数

exception
Exception

此事件数据所属的异常。

action
String

与事件相关联的操作。

适用于