CommandResult Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents the result of executing a command that is returned by a command callback to indicate whether the command handler completed.

System.Object
  Microsoft.VisualStudio.TestTools.Vsip.CommandResult

Namespace:  Microsoft.VisualStudio.TestTools.Vsip
Assembly:  Microsoft.VisualStudio.QualityTools.Vsip (in Microsoft.VisualStudio.QualityTools.Vsip.dll)

public class CommandResult

The CommandResult type exposes the following members.

  NameDescription
Public methodCommandResult(Boolean)Initializes a new instance of the CommandResult class by using the provided indication of whether the command was completed.
Public methodCommandResult(Boolean, String)Initializes a new instance of the CommandResult class by using the provided message and indication of whether the command was completed.
Top

  NameDescription
Public propertyCompletedGets a value that indicates whether the command was successfully completed.
Public propertyMessageGets the message that contains the reason that the command was not successfully completed.
Top

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

Show: