다음을 통해 공유


Notification.CreateOnError<T> 메서드

관찰자에게 OnError 알림을 나타내는 개체를 만듭니다.

네임스페이스:System.Reactive
어셈블리: System.Reactive(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.

형식 매개 변수

  • T
    알림 인수 유형입니다.

매개 변수

반환 값

형식: System.Reactive.Notification<T>
예외가 포함된 OnError 알림입니다.

참고 항목

참조

Notification 클래스

System.Reactive 네임스페이스