Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates an object that represents an OnError notification to an observer.
Namespace: System.Reactive
Assembly: System.Reactive (in System.Reactive.dll)
Syntax
'Declaration
Public Shared Function CreateOnError(Of T) ( _
error As Exception _
) As Notification(Of T)
'Usage
Dim error As Exception
Dim returnValue As Notification(Of T)
returnValue = Notification.CreateOnError(error)
public static Notification<T> CreateOnError<T>(
Exception error
)
public:
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.
Parameters
- error
Type: System.Exception
The exception contained in the notification.
Return Value
Type: System.Reactive.Notification<T>
The OnError notification containing the exception.