小编Dan*_*uro的帖子

Azure Worker角色自定义性能计数器

我正在尝试在azure worker角色和Web角色中创建一些自定义性能计数器.Web角色正在从azure VM正确地收集和传输性能计数器数据到诊断表存储,但是worker角色失败.登录到VM并检查事件日志我看到以下例外情况:

Source: perflib
Event ID: 1010
The Collect Procedure for the "D:\Windows\System32\winspool.drv" service in DLL "Spooler" generated an exception or returned an invalid status. The performance data returned by the counter DLL will not be returned in the Perf Data Block. The first four bytes (DWORD) of the Data section contains the exception code or status code.


Source: perflib
Event ID: 1008
The Open Procedure for service "BITS" in DLL "D:\Windows\System32\bitsperf.dll" failed. Performance data for this service will …
Run Code Online (Sandbox Code Playgroud)

performancecounter azure

7
推荐指数
1
解决办法
1573
查看次数

Twitter 引导向导在 onnext 期间跳过步骤

这是 twitter bootstrap 的一个具体问题http://vadimg.com/twitter-bootstrap-wizard/

我正在尝试确定在处理 onNext 事件时是否有人能够跳过步骤。我想根据之前步骤中选择的输入跳过步骤。我已经看到你可以这样做:

$('#rootwizard .finish').click(function() {
    alert('Finished!, Starting over!');
    $('#rootwizard').find("a[href*='tab1']").trigger('click');
});
Run Code Online (Sandbox Code Playgroud)

我无法使用它,因为我禁用了选项卡,不幸的是,如果我在 onNext 事件期间使用它,如果我启用了选项卡,因为它继续执行来自 onNext 事件调用者的代码,这将无济于事。

谢谢丹

twitter-bootstrap twitter-bootstrap-wizard

5
推荐指数
1
解决办法
3758
查看次数