/// <summary> /// Create an OperationResult with a message. /// </summary> /// <param name="status">The status of the operation.</param> /// <param name="message">The optional message to describe the result.</param> public OperationResult(OperationResult.Status status, string message) { this.status = status; this.message = message; }
/// <summary> /// Create an OperationResult with no message. /// </summary> /// <param name="status">The status of the operation.</param> public OperationResult(OperationResult.Status status) { this.status = status; }