Initializes a new instance of the CommandResult class by using the provided 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 _
)
public CommandResult(
    bool completed
)
public:
CommandResult(
    bool completed
)
new : 
        completed:bool -> CommandResult
public function CommandResult(
    completed : boolean
)
Parameters
- completed
 Type: System.Boolean
 true if the command has completed; otherwise, false.
.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.