此调用活动将调用事件处理程序。
最后由parse调用事件处理器。
唯一不同之处是不存在初始调用事件。
The only difference is that there is no initial Invoke event.
后面将使用此映射,在调用事件时激发响应事件。
You will use this map later on to fire the right event when an event is called.
引发事件时会通过委托调用事件处理程序。
Raising an event invokes the event handler through a delegate.
因此,以这种方式调用事件注册器是非常少见的。
Therefore this way of executing event handlers is rarely useful.
调用事件处理程序之后,可以确定引发事件的控件。
When an event handler is called, you can determine which control caused the event.
没有,正好在调用事件句柄前,事件已经从队列中移走了。
No, events are removed from the queue just before calling the event handler.
看似无关的parse方法触发对XML文档的语法分析,这导致了调用事件处理器。
The innocent-looking parse method triggers parsing of the XML document which, in turn, calls the event handler.
因此,在调用事件处理程序方法时调用堆栈可能只有高度受信任的调用方。
Therefore, the call stack might have only highly trusted callers when the event handler method is invoked.
一旦开始验证,发射器通过调用事件实例上的 validate()方法验证事件。
Once this occurs, the emitter validates the event by calling the validate() method on the event instance.
下面的代码示例显示如何设置仅在某些情况下才会为其调用事件处理程序的事件。
The following code example shows how to set up an event for which the handler is only called under certain conditions.
遍历和处理DOM非常简单,同时附加、移除和调用事件也十分容易,且不像手动操作那样容易出错。
Traversing and manipulating the DOM is easy, and attaching, removing, and calling events is completely natural and much less error prone than doing it by hand.
这可以通过修改上述示例的循环来完成,以便调用活动直接调用外部服务,而不是调用事件处理程序。
This can be accomplished by modifying the loop of the example above so that the invoke activity invokes the external service immediately instead of invoking an event handler.
这是一个即时事件处理的例子,因为整个表单没有在调用事件处理程序之前进行有效性验证。
This is an example of immediate event handling, since the whole form is not validated before the event handler is invoked.
为避免事件接收者轮询事件何时发生,可以通过Receiver接口的receive方法调用事件接收者。
To avoid event receivers polling to determine when an event occurs, event receivers are invoked through the receive method of the receiver interface.
例如,事件接收者通过使用参数Event . class调用事件通道的subscribe方法,可以订阅所有事件。
For example, an event receiver could subscribe to all events by invoking the subscribe method of the event channel with a parameter of Event.class.
测试用例通过触发checkout和accept _ card事件实现两个转换,并在调用事件之后检验事件状态是否正确。
The test case makes both transitions by triggering the checkout and accept_card events, and verifying the states correctly after calling the events.
内容处理程序可以由用户调用事件实例的complete方法来调用,或者是在发射器调用complete方法时的发射点处调用。
The content handler may be invoked either by the user, calling the complete , method on the event instance, or at the point of emission where the emitter invokes the complete method.
无论您使用现有的集成测试客户端,还是打开保存的集成测试客户端,要重新运行测试,请右键单击调用事件,并选择Rerun或Rerun with auto - emulate。
Whether you are using an existing integration test client, or you have opened a saved one, to re-run a test, right-click an Invoke event and choose either Rerun or Rerun with auto-emulate.
l利用事件——当异步调用完成时设定的信号。
Using events - a signal is set as soon as the asynchronous call is finished.
为此,流程的客户机将调用使用事件处理程序实现的取消操作。
To do this, the client of the process invokes the cancellation operation that is implemented using an event handler.
利用事件-信号是尽快将异步调用完成。
Using events - a signal is set as soon as the asynchronous call is finished.
对于“被调用函数”,为所选函数调用的函数实例中发生的争用事件数。
For a called function, the number of objects that were allocated by the instances of the function that were called by the selected function.
对于“被调用函数”,为所选函数调用的函数实例中发生的争用事件数。
For a called function, the number of objects that were allocated by the instances of the function that were called by the selected function.
应用推荐