public static DeleteSaga ( System.Guid correlationId ) : System.Threading.Tasks.Task | ||
correlationId | System.Guid | |
Результат | System.Threading.Tasks.Task |
public Task Kill() { return(SagaRepository.DeleteSaga(_saga.CorrelationId)); }
public void Kill() { SagaRepository.DeleteSaga(_correlationId).GetAwaiter().GetResult(); }
public async Task Kill() { await SagaRepository.DeleteSaga(_correlationId); }
public void Kill() { TaskUtil.Await(() => SagaRepository.DeleteSaga(_correlationId)); }