TestResult.SetResult Method

Definition

Overloads

SetResult(ResultState)
SetResult(ResultState, String)
SetResult(ResultState, String, String)

SetResult(ResultState)

public void SetResult (NUnit.Framework.Api.ResultState resultState);
member this.SetResult : NUnit.Framework.Api.ResultState -> unit

Parameters

resultState
ResultState

Applies to

SetResult(ResultState, String)

public void SetResult (NUnit.Framework.Api.ResultState resultState, string message);
member this.SetResult : NUnit.Framework.Api.ResultState * string -> unit

Parameters

resultState
ResultState
message
String

Applies to

SetResult(ResultState, String, String)

public void SetResult (NUnit.Framework.Api.ResultState resultState, string message, string stackTrace);
member this.SetResult : NUnit.Framework.Api.ResultState * string * string -> unit

Parameters

resultState
ResultState
message
String
stackTrace
String

Applies to