Lingua

IHistoryRepository.CreateIfNotExistsAsync(CancellationToken) Metodo

Definizione

Crea la tabella di cronologia.

public virtual System.Threading.Tasks.Task<bool> CreateIfNotExistsAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member CreateIfNotExistsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
override this.CreateIfNotExistsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Overridable Function CreateIfNotExistsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)

Parametri

cancellationToken
CancellationToken

Oggetto CancellationToken da osservare durante l'attesa del completamento dell'attività.

Valori restituiti

Attività che rappresenta l'operazione asincrona. Il risultato dell'attività contiene true se la tabella è stata creata; in caso contrario, false .

Eccezioni

Se l'oggetto CancellationToken viene annullato.

Si applica a