DebugSettings.BindingFailed 事件

定义

无法解析 绑定 时发生。

public:
 virtual event BindingFailedEventHandler ^ BindingFailed;
// Register
event_token BindingFailed(BindingFailedEventHandler const& handler) const;

// Revoke with event_token
void BindingFailed(event_token const* cookie) const;

// Revoke with event_revoker
DebugSettings::BindingFailed_revoker BindingFailed(auto_revoke_t, BindingFailedEventHandler const& handler) const;
public event BindingFailedEventHandler BindingFailed;
function onBindingFailed(eventArgs) { /* Your code */ }
debugSettings.addEventListener("bindingfailed", onBindingFailed);
debugSettings.removeEventListener("bindingfailed", onBindingFailed);
- or -
debugSettings.onbindingfailed = onBindingFailed;
Public Custom Event BindingFailed As BindingFailedEventHandler 

事件类型

注解

IsBindingTracingEnabled 必须是 true 并且必须有一个调试器附加到应用进程,以便 BindingFailed 触发和跟踪才能显示在调试器输出中。 无需处理 事件即可查看跟踪显示在调试器中。 调试器输出包含进入调试器“ 输出 ”窗口的消息信息。 BindingFailed在想要查看原始消息时,自行附加处理程序是一种高级方案。

适用于

另请参阅