Icicle Icicle

Method ThrowIfFaulted

Namespace
Icicle
Assembly
Icicle.dll

ThrowIfFaulted(RunToken)

If the ResultHandle<T> 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<T>

Exception

if the ResultHandle<T> has faulted

Edit this page
Created By Ben Mazzarol