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

ExceptionReceivedContext(String, String, String, String) 构造函数

定义

初始化 ExceptionReceivedContext 类的新实例。

public ExceptionReceivedContext (string action, string endpoint, string entityPath, string clientId);
new Microsoft.Azure.ServiceBus.ExceptionReceivedContext : string * string * string * string -> Microsoft.Azure.ServiceBus.ExceptionReceivedContext
Public Sub New (action As String, endpoint As String, entityPath As String, clientId As String)

参数

action
String

与异常关联的操作。

endpoint
String

与异常关联的终结点。

entityPath
String

与异常关联的实体路径。

clientId
String

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

适用于