CommandResult Constructor (Boolean, String)
Initializes a new instance of the CommandResult class by using the provided message and indication of whether the command was completed.
Namespace: Microsoft.VisualStudio.TestTools.Vsip
Assembly: Microsoft.VisualStudio.QualityTools.Vsip (in Microsoft.VisualStudio.QualityTools.Vsip.dll)
Syntax
‘선언
Public Sub New ( _
completed As Boolean, _
message As String _
)
public CommandResult(
bool completed,
string message
)
public:
CommandResult(
bool completed,
String^ message
)
new :
completed:bool *
message:string -> CommandResult
public function CommandResult(
completed : boolean,
message : String
)
Parameters
- completed
Type: System.Boolean
true if the command has completed; otherwise, false.
- message
Type: System.String
If the command handler was unable to finish, contains the reason why.
.NET Framework Security
- 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.