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

See Also

Reference

CommandResult Class

CommandResult Overload

Microsoft.VisualStudio.TestTools.Vsip Namespace