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)


Public Sub New ( _
    completed As Boolean, _
    message As String _
public CommandResult(
    bool completed,
    string message
    bool completed, 
    String^ message
new : 
        completed:bool * 
        message:string -> CommandResult
public function CommandResult(
    completed : boolean, 
    message : String


  • 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

See Also


CommandResult Class

CommandResult Overload

Microsoft.VisualStudio.TestTools.Vsip Namespace