コード例 #1
0
 protected override async Task ExecuteStatementAsync(StatementContext context)
 {
     try {
         await context.TransferAsync(Label);
     } catch (SqlStatementException) {
         throw;
     } catch (Exception ex) {
         throw new SqlStatementException($"It was not possible to transfer the execution to statement labeled '{Label}' because of an error.", ex);
     }
 }