지정된 오류와 함께 지정된 시간에 기록된 OnError 알림에 대한 팩터리 메서드입니다.
네임스페이스:Microsoft.Reactive.Testing
어셈블리: Microsoft.Reactive.Testing(Microsoft.Reactive.Testing.dll)
Syntax
'Declaration
Public Shared Function OnError(Of T) ( _
ticks As Long, _
exception As Exception _
) As Recorded(Of Notification(Of T))
'Usage
Dim ticks As Long
Dim exception As Exception
Dim returnValue As Recorded(Of Notification(Of T))
returnValue = ReactiveTest.OnError(ticks, _
exception)
public static Recorded<Notification<T>> OnError<T>(
long ticks,
Exception exception
)
public:
generic<typename T>
static Recorded<Notification<T>^> OnError(
long long ticks,
Exception^ exception
)
static member OnError :
ticks:int64 *
exception:Exception -> Recorded<Notification<'T>>
JScript does not support generic types and methods.
형식 매개 변수
- T
매개 변수
- ticks
형식: System.Int64
OnError 알림이 발생하는 가상 시간을 기록했습니다.
- exception
형식: System.Exception
OnError 알림에 저장된 기록된 예외입니다.
반환 값
형식: Microsoft.Reactive.Testing.Recorded<Notification<T>>
기록된 OnError 알림입니다.