IPexMethodCallChoiceSessionBuilder.Throws(Boolean) 方法

定义

设置方法是否应引发异常。

public:
 Microsoft::Pex::Framework::Generated::IPexMethodCallChoiceSessionBuilder ^ Throws(bool value);
public Microsoft.Pex.Framework.Generated.IPexMethodCallChoiceSessionBuilder Throws (bool value);
abstract member Throws : bool -> Microsoft.Pex.Framework.Generated.IPexMethodCallChoiceSessionBuilder
Public Function Throws (value As Boolean) As IPexMethodCallChoiceSessionBuilder

参数

value
Boolean

返回

IPexMethodCallChoiceSessionBuilder

适用于