StreamBindingFailureMessage(String, ExceptionDispatchInfo) 构造函数

定义

初始化 InvocationBindingFailureMessage 类的新实例。

public:
 StreamBindingFailureMessage(System::String ^ id, System::Runtime::ExceptionServices::ExceptionDispatchInfo ^ bindingFailure);
public StreamBindingFailureMessage (string id, System.Runtime.ExceptionServices.ExceptionDispatchInfo bindingFailure);
new Microsoft.AspNetCore.SignalR.Protocol.StreamBindingFailureMessage : string * System.Runtime.ExceptionServices.ExceptionDispatchInfo -> Microsoft.AspNetCore.SignalR.Protocol.StreamBindingFailureMessage
Public Sub New (id As String, bindingFailure As ExceptionDispatchInfo)

参数

id
String

流 ID。

bindingFailure
ExceptionDispatchInfo

绑定期间引发的异常。

适用于