你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ExceptionReceivedEventArgs(Exception, String, String, String, String) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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 可用于与遇到异常的 QueueClient、 SubscriptionClientMessageSender 或 MessageReceiver相关联。