Icicle Icicle

Method ThrowIfFaulted

Namespace
Icicle
Assembly
Icicle.dll

ThrowIfFaulted(RunToken)

If the ResultHandle has a status of Faulted it throws the Exception

public void ThrowIfFaulted(RunToken token)

Parameters

token RunToken

returned proof from a call to Run(RunOptions?, CancellationToken)

Exceptions

InvalidRunTokenException

if provided token is not from the same TaskScope that created this ResultHandle

Exception

if the ResultHandle has faulted

Edit this page
Created By Ben Mazzarol