OperationResult.ToString Method

Definition

Converts the value of the current OperationResult object to its equivalent string representation.

public override string ToString();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

Returns

A string representation of the current OperationResult object.

Remarks

If the operation was successful the ToString() will return "Succeeded" otherwise it will return "Failed : " followed by a comma delimited list of error messages from its Errors collection, if any.

Applies to