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

ExceptionReceivedEventArgs(Exception, String, String, String, String) 构造函数

定义

初始化 ExceptionReceivedEventArgs 类的新实例。

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

参数

exception
Exception

此事件数据所属的异常。

action
String

与事件相关联的操作。

endpoint
String

发生此异常时使用的终结点。

entityName
String

发生此异常时使用的实体路径。

clientId
String

客户端 ID 可用于与遇到异常的 QueueClientSubscriptionClientMessageSenderMessageReceiver相关联。

适用于