或者,注册事件参考以进行验证。
它是更为复杂的代码,要求扩展类才能注册事件侦听程序。
It's more complicated code that requires extending a class to register an event listener.
返回到清单7,需要做的最后一件事是注册事件处理程序。
Going back to Listing 7, the last thing you do is register event handlers. You are registering for online and offline events.
获取或设置在其上注册事件源的计算机的名称。
Gets or sets the name of the computer on which to register the event source.
委托允许其他类通过指定处理程序方法来注册事件通知。
The delegate enables other classes to register for event notification by specifying a handler method.
菜单会自行处理它们的事件,所以你不必为你菜单中的项目注册事件侦听器。
Menus also handle their own events, so there's no need to register event listeners on the items in your menu.
该函数初始化硬件中断和内核,使设备驱动注册事件并使能中断。
This function initializes a hardware interrupt with the kernel. This initialization enables the device driver to register an event and enable the interrupt.
为注册事件处理器并启动语法分析器,应用程序使用XMLReader接口。
To register event handlers and to start parsing, the application USES the XMLReader interface. As we have seen, parse , a method of XMLReader, starts the parsing.
使用表示生成事件的客户端控件的唯一控件ID为验证注册事件引用。
Registers an event reference for validation with a unique control id representing the client control generating the event.
使用指定的注册事件源将信息类型项与给定的消息文本一起写入事件日志。
Writes an entry with the given message text, application-defined event identifier, and application-defined category to the event log.
使用表示生成事件的客户端控件的唯一控件ID和事件参数为验证注册事件引用。
Registers an event reference for validation with a unique control id and event arguments representing the client control generating the event.
main设置一个语法分析器功能以请求名称空间处理,并且使用语法分析器注册事件处理器。
Main sets a parser feature to request namespace processing and it registers the event handler with the parser. Finally, main calls the parse method with the URI to the XML file.
通过维护事件的已注册事件处理程序列表,委托为引发事件的类担当事件发送器的角色。
A delegate ACTS as an event dispatcher for the class that raises the event by maintaining a list of registered event handlers for the event.
通过指定的注册事件源,将一个包含给定消息文本和应用程序定义的事件标识符的项写入事件日志。
Writes an entry with the given message text and application-defined event identifier to the event log, using the specified registered event source.
使用指定的已注册事件源写入包含给定的事件数据、消息替换字符串和关联的二进制数据的事件日志项。
Writes an event log entry with the given event data, message replacement strings, and associated binary data, and using the specified registered event source.
使用指定的注册事件源,将错误、警告、信息、成功审核或失败审核项与给定的消息文本一起写入事件日志。
Writes an error, warning, information, success audit, or failure audit entry with the given message text to the event log, using the specified registered event source.
在我注册事件的监听器时,您可能注意到this指的是作为一个参数(第二个)传递的DOMEvents的EventListener接口实例。
When I registered event listeners for events, you probably noticed that this was the instance of the DOM events' EventListener interface that I passed as a parameter (the second).
在本文中,我们将展示如何用一个特定的连接端口注册CIM事件处理程序以避免增加复杂度。
In this article, we show you how to register CIM event handlers with a a single specific connection port to avoid added complexity.
浏览器通过调用预先注册的函数来传递事件。
Browsers pass events by calling functions that were registered in advance.
当在目标CIM 服务器上注册 CIM事件处理程序时,我们能够获得每个建立的侦听程序的连接信息。
When the CIM event handlers are registered on the target CIM server, we were able to get the connection information of each established listener.
这是首选的,因为很容易注册(和注销)事件函数,而且可以将浏览器处理的多个已注册函数链接起来。
This is your first choice because it's easy to register (and unregister) event functions, and chaining through multiple registered functions is handled by the browsers.
有些充当回调机制的容器事件,也注册到了这里。
Some container events, which act as call-back mechanisms, are registered here.
许多应用程序注册这些事件以便用它们自己的方式报错。
Many applications register for these events to report errors in their own way.
本文讲解了构建小部件的基本步骤,包括动态事件注册和服务器通信。
This article has taken you through the basic steps of constructing a widget, including dynamic event registration and server communication.
每个阶段中,路径中的任何元素都可以注册为事件观测者,从而能够触发事件处理程序。
During each phase, any element along the path can be registered as an observer of the event, and can thus trigger an event handler.
大多数应用程序都注册这些事件。
编写将用于解释ui中的更改并相应修改ACL和注册中心的事件处理程序和服务方法。
Writing event handlers and service methods that will interpret changes in the UI and modify ACLs and the registry accordingly.
API还支持一种事件机制,您可使用该机制注册为在特定事件(比如域的启动、中止、恢复或停止)发生时获得通知。
The API also supports an event mechanism with which you can register to be notified of particular events (such as a domain being booted, suspended, resumed, or stopped).
只有少数几个应用程序注册这些事件。
DataBladeAPI提供了一些方法来注册等待特定事件的回调函数。
The DataBlade API provides ways to register callback functions that wait for specific events.
应用推荐