次の方法で共有


ReactiveTest.OnError<T> メソッド

特定の時点で特定のエラーが記録された OnError 通知のファクトリ メソッド。

Namespace:Microsoft.Reactive.Testing
アセンブリ: Microsoft.Reactive.Testing (Microsoft.Reactive.Testing.dll)

構文

'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 通知。

参照

リファレンス

ReactiveTest クラス

Microsoft.Reactive.Testing 名前空間