SetException(Exception)View sourcepublic readonly void SetException(Exception exception)Completes the definition with an exception.ParametersexceptionException