Create a new promise which is already rejected
Namespace: Innovator.ClientAssembly: Innovator.Client (in Innovator.Client.dll) Version: 2016.1.15.1759 (2016.01.15.1759)
Syntax public static IPromise<T> Rejected<T>(
Exception ex
)
Public Shared Function Rejected(Of T) (
ex As Exception
) As IPromise(Of T)
Parameters
- ex
- Type: SystemException
Type Parameters
- T
Return Value
Type:
IPromiseTSee Also