Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'宣言
Public Shared Function IsTerminal ( _
outcome As TestOutcome _
) As Boolean
'使用
Dim outcome As TestOutcome
Dim returnValue As Boolean
returnValue = TestOutcomeHelper.IsTerminal(outcome)
public static bool IsTerminal(
TestOutcome outcome
)
public:
static bool IsTerminal(
TestOutcome outcome
)
public static function IsTerminal(
outcome : TestOutcome
) : boolean
Parameters
- outcome
Type: Microsoft.VisualStudio.TestTools.Common.TestOutcome
Return Value
Type: System.Boolean
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.