CommandResult Class
Represents the result of executing a command that is returned by a command callback to indicate whether the command handler completed.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.TestTools.Vsip.CommandResult
Namespace: Microsoft.VisualStudio.TestTools.Vsip
Assembly: Microsoft.VisualStudio.QualityTools.Vsip (in Microsoft.VisualStudio.QualityTools.Vsip.dll)
Syntax
声明
Public Class CommandResult
public class CommandResult
public ref class CommandResult
type CommandResult = class end
public class CommandResult
The CommandResult type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CommandResult(Boolean) | Initializes a new instance of the CommandResult class by using the provided indication of whether the command was completed. | |
CommandResult(Boolean, String) | Initializes a new instance of the CommandResult class by using the provided message and indication of whether the command was completed. |
Top
Properties
Name | Description | |
---|---|---|
Completed | Gets a value that indicates whether the command was successfully completed. | |
Message | Gets the message that contains the reason that the command was not successfully completed. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.