StepResult.CompareTo(StepResult) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares this instance of the StepResult object with another specified StepResult object and indicates whether this instance precedes, follows, or appears in the same position in the StepResult.ResultCode order as the specified StepResult object. The order of the possible StepResult.ResultCode values from first to last is Failure, Warning, Success, Complete, and NoResult.
public int CompareTo (Microsoft.Hpc.Diagnostics.Helpers.StepResult other);
abstract member CompareTo : Microsoft.Hpc.Diagnostics.Helpers.StepResult -> int
override this.CompareTo : Microsoft.Hpc.Diagnostics.Helpers.StepResult -> int
Public Function CompareTo (other As StepResult) As Integer
Parameters
- other
- StepResult
Returns
An Int32 object that indicates whether this instance precedes, follows, or appears in the same position in the StepResult.ResultCode order as the specified StepResult object.A value of less than zero indicates that this instance precedes the specified StepResult object in StepResult.ResultCode order. Zero indicates that this instance appears in the same position as the specified StepResult object in StepResult.ResultCode order. A value of greater than zero indicates that this instance follows the specified StepResult object in StepResult.ResultCode order.
Implements
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for