Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'宣言
Sub AssignIsRunnable ( _
runnable As Boolean, _
errorMessage As String _
)
'使用
Dim instance As ITestElement
Dim runnable As Boolean
Dim errorMessage As String
instance.AssignIsRunnable(runnable, errorMessage)
void AssignIsRunnable(
bool runnable,
string errorMessage
)
void AssignIsRunnable(
bool runnable,
String^ errorMessage
)
function AssignIsRunnable(
runnable : boolean,
errorMessage : String
)
Parameters
- runnable
Type: System.Boolean
- errorMessage
Type: System.String
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.