我们的样例程序处理来自Optim PerformanceManager、描述事件的XML文档并使用该信息来创建SNMPv2c陷阱。
Our sample program processes the XML documents from Optim Performance Manager that describe the events and USES that information to create SNMP v2c traps.
建议使用此命名约定定义您自己事件的事件处理程序,但这并不是必选的方法;您可以使用任何有效的子例程名称。
We recommend that you use this naming convention when defining event handlers for your own events, but it is not required; you can use any valid subroutine name.
您可以将任何带有匹配签名的有效子例程用作事件处理程序。
You can use any valid subroutine with a matching signature as an event handler.
这使您可以提供一个这样的事件处理方法,即每次发生此事件时就执行一个自定义例程(如检查删除操作的结果)。
This enables you to provide an event-handling method that performs a custom routine, such as checking the results of the delete operation, whenever this event occurs.
这使您可以提供一个这样的事件处理方法,即每次发生此事件时就执行一个自定义例程(如取消选择操作)。
This enables you to provide an event-handling method that performs a custom routine, such as canceling the selection operation, whenever this event occurs.
此范例程序码中的第二行在您的类别中定义事件成员,该成员负责处理不带任何资料的事件。
The second line of code in the example defines the event member in your class for an event that has no data.
立即执行全局或内联脚本,这些脚本不是事件处理子例程或函数的一部分。
Global or inline scripts, which are scripts that are not part of an event-handling subroutine or function, are executed immediately.
立即执行全局或内联脚本,这些脚本不是事件处理子例程或函数的一部分。
Global or inline scripts, which are scripts that are not part of an event-handling subroutine or function, are executed immediately.
应用推荐