Catch 类

定义

包含要在 Finally 活动的对应 Try 块中引发了异常之后执行的操作。Contains the actions to be executed after an exception is thrown in the corresponding Try block of a Finally activity.

public ref class Catch abstract
public abstract class Catch
type Catch = class
Public MustInherit Class Catch
继承
Catch
派生

注解

放入设计器后, Catch 不能在设计器中对活动进行重新排序。Once placed in the designer, Catch activities cannot be reordered in the designer. 若要重新排列活动集合的 Catch 顺序,请按正确的顺序删除并重新添加它们,或使用 xaml (代码) 视图中的工作流。To reorder the collection of Catch activities, either delete and re-add them in the correct order, or use the xaml (code) view for the workflow.

属性

ExceptionType

Catch 块正在处理的异常的类型。The type of exception that the Catch block is handling.

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于