ParallelLoopState.IsExceptional 属性

定义

获取循环的任何迭代是否已引发相应迭代未处理的异常。Gets whether any iteration of the loop has thrown an exception that went unhandled by that iteration.

public:
 property bool IsExceptional { bool get(); };
public bool IsExceptional { get; }
member this.IsExceptional : bool
Public ReadOnly Property IsExceptional As Boolean

属性值

Boolean

true 如果引发了未经处理的异常,则为;否则为 falsetrue if an unhandled exception was thrown; otherwise, false.

适用于