从例外处理常式区块分支出来。
注册特殊路由事件的类别处理常式。
已拥有处理常式的事件会以粗体显示。
堆叠上可能会有各种不同型别的处理常式。
The stack may have a variety of different types of handlers on the stack.
列出在继承的元件中事件处理常式会发生的常见问题。
Lists common issues that occur with event handlers in inherited components.
当事件引发时,接收到该事件的事件处理常式便会执行。
When an event is raised, the event handler or handlers that receive the event are executed.
借由选取物件然后选取事件,即可建立新的事件处理常式。
You can create a new event handler by selecting the object and then selecting the event.
在原本剖析的XAML页面中加入事件处理常式要简单许多。
Adding an event handler in the initially parsed XAML page is much simpler.
当一个路径不存在或者是有病的时候,借着目录处理常式报告。
Reported by the directory handling routines when a path does not exist or is invalid.
此表格会告诉作业系统,哪个例外处理常式对于影像而言是有效的。
This table specifies for the operating system which exception handlers are valid for the image.
一般是由事件处理常式组成,但是可以包含您需要的任何方法或属性。
This typically consists of event handlers, but can include any methods or properties that you need.
事件可以被指定给多个处理常式,而且可以变更处理特定事件的方法。
Events can be assigned to multiple handlers, and the methods that handle particular events can be changed dynamically.
示范如何定义事件处理常式,并将它加入到另一个类别中引发的事件。
Shows how to define an event handler and add it to an event raised in another class.
为非同步页面,注册不需要状态资讯的开始与结束事件处理常式委派。
Registers beginning and ending event handler delegates that do not require state information for an asynchronous page.
在错误处理常式中,可测试查看使用者是否为本机使用者,并据此反应。
In your error handler, you can test to see whether the user is local and react accordingly.
例如,设计工具可以将键盘处理常式或滑鼠处理常式推入或加入至堆叠。
For example, a designer might push, or add, a keyboard handler and a mouse handler onto the stack.
在基底类别和子类别个别注册类别处理的情况下,子类别处理常式会先叫用。
In cases where base classes and subclass each register class handling, the subclass handlers are invoked first.
大多数的控制项都有供您撰写错误处理常式的错误事件(请参阅撷取错误)。
Most controls have an error event from which you can write an error handler (see error Trapping).
在要加入事件处理常式的物件项目内,加入名称与要处理的事件相符的属性。
Within the object element where you want to add the event handler, add an attribute that matches the name of the event that you want to handle.
如果发生这种事件,而且关联的事件处理常式中有程序码,就会叫用此程序码。
If one of these events occurs and there is code in the associated event handler, that code is invoked.
一般用于接听事件的技术,是使用语言特定的语法来附加处理常式到来源事件。
The typical technique for listening to an event is to use the language-specific syntax that attaches a handler to an event on a source.
一般来说,您会借由在管理快取资料的商务物件中,建立处理常式以实作回呼。
Typically, you implement the callback by creating a handler in a business object that manages the cache data.
取代后援处理常式,这个处理常式会取代无法以某个任意取代字元编码的字元。
A replacement fallback handler, which replaces characters that cannot be encoded with some arbitrary replacement character.
如果您的专案具有讯息处理常式,则会在讯息旁边的右栏中出现处理常式名称。
If your project has a handler for a message, then the name of the handler appears in the right column next to the message.
每当第一个资料来源变更时,第二个资料来源的查询就会经由事件处理常式来更新。
Whenever the first data source changes, the second data source's query is updated through an event handler.
路由事件可在路由中的任何指定节点上由类别处理常式或执行个体处理常式进行处理。
Routed events can be handled either by class handlers or instance handlers on any given node in the route.
不过,您可以在事件处理常式方法中修改配置,而这代表配置会在呈现之前再计算一次。
However, you can modify layout in your event handler method, which means that layout will be computed once more before rendering.
此外,如果视觉化树状结构的变更强制更新复合场景图形,也会呼叫事件处理常式方法。
In addition, if changes to the visual tree force updates to the composition scene graph, your event handler method is also called.
使用此方法便能使得服务不但能扩充至任何事件配置,也能取代特定型别的事件处理常式。
This way the service can be extended to any eventing scheme, and it also allows specific types of event handlers to be replaced.
使用此方法便能使得服务不但能扩充至任何事件配置,也能取代特定型别的事件处理常式。
This way the service can be extended to any eventing scheme, and it also allows specific types of event handlers to be replaced.
应用推荐