IPexMethodCallChoiceSessionBuilder.Throws(Boolean) Method

Definition

Sets whether the method should throw an exception.

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

Parameters

value
Boolean

Returns

Returns IPexMethodCallChoiceSessionBuilder.

Applies to