The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.


Notification.CreateOnError<T> Method

Creates an object that represents an OnError notification to an observer.

Namespace:  System.Reactive
Assembly:  System.Reactive (in System.Reactive.dll)


Public Shared Function CreateOnError(Of T) ( _
    error As Exception _
) As Notification(Of T)
Dim error As Exception
Dim returnValue As Notification(Of T)

returnValue = Notification.CreateOnError(error)
public static Notification<T> CreateOnError<T>(
    Exception error
generic<typename T>
static Notification<T>^ CreateOnError(
    Exception^ error
static member CreateOnError : 
        error:Exception -> Notification<'T> 
JScript does not support generic types and methods.

Type Parameters

  • T
    The notification argument type.


Return Value

Type: System.Reactive.Notification<T>
The OnError notification containing the exception.

See Also


Notification Class

System.Reactive Namespace