다음을 통해 공유


ReactiveAssert.Throw<TException> 메서드(TException, Action, String)

네임스페이스:Microsoft.Reactive.Testing
어셈블리: Microsoft.Reactive.Testing(Microsoft.Reactive.Testing.dll)

Syntax

'Declaration
Public Shared Sub Throws(Of TException As Exception) ( _
    exception As TException, _
    action As Action, _
    message As String _
)
'Usage
Dim exception As TException
Dim action As Action
Dim message As String

ReactiveAssert.Throws(exception, action, message)
public static void Throws<TException>(
    TException exception,
    Action action,
    string message
)
where TException : Exception
public:
generic<typename TException>
where TException : Exception
static void Throws(
    TException exception, 
    Action^ action, 
    String^ message
)
static member Throws : 
        exception:'TException * 
        action:Action * 
        message:string -> unit  when 'TException : Exception
JScript does not support generic types and methods.

형식 매개 변수

  • TException

매개 변수

  • exception
    형식: TException

참고 항목

참조

ReactiveAssert 클래스

오버로드를 throw합니다.

Microsoft.Reactive.Testing 네임스페이스