관찰자에게 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
알림 인수 유형입니다.
매개 변수
- error
형식: System.Exception
알림에 포함된 예외입니다.
반환 값
형식: System.Reactive.Notification<T>
예외가 포함된 OnError 알림입니다.