IPexMethodCallChoiceSessionBuilder.Thrown(Exception) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets whether the method should throw an 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
Parameters
- exception
- Exception
Returns
Returns IPexMethodCallChoiceSessionBuilder.