IPexMethodCallChoiceSessionBuilder.Thrown(Exception) 方法

定义

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

public:
 Microsoft::Pex::Framework::Generated::IPexMethodCallChoiceSessionBuilder ^ Thrown(Exception ^ exception);
public Microsoft.Pex.Framework.Generated.IPexMethodCallChoiceSessionBuilder Thrown (Exception exception);
abstract member Thrown : Exception -> Microsoft.Pex.Framework.Generated.IPexMethodCallChoiceSessionBuilder
Public Function Thrown (exception As Exception) As IPexMethodCallChoiceSessionBuilder

参数

exception
Exception

返回

IPexMethodCallChoiceSessionBuilder

适用于