SetSearchAsFailed() public method

public SetSearchAsFailed ( ) : void
return void
        private void OnNavigateToTransactionRequestReceived(NavigateToTransactionMessage message)
        {
            if (NavigateToVisibleTransaction(message.TransactionId))
            {
                message.SetSearchAsSuccessful();
                return;
            }

            if (NavigateToTransactionOutsideOfFilter(message.TransactionId))
            {
                message.SetSearchAsSuccessful();
                return;
            }

            message.SetSearchAsFailed();
            // No such transaction id found.
        }
        private void OnNavigateToTransactionRequestReceived(NavigateToTransactionMessage message)
        {
            if (NavigateToVisibleTransaction(message.TransactionId))
            {
                message.SetSearchAsSuccessful();
                return;
            }

            if (NavigateToTransactionOutsideOfFilter(message.TransactionId))
            {
                message.SetSearchAsSuccessful();
                return;
            }

            message.SetSearchAsFailed();
            // No such transaction id found.
        }