Skip to content
Documentation

IHakomDatabaseLogStoreFactory Interface

Used to create IHakomDatabaseLogStore instances.

public interface IHakomDatabaseLogStoreFactory

IHakomDatabaseLogStoreFactory.Create(string, CancellationToken) Method

Section titled “IHakomDatabaseLogStoreFactory.Create(string, CancellationToken) Method”

Creates an instance of IHakomDatabaseLogStore for the specified repositoryName.

System.Threading.Tasks.Task<HAKOM.Logging.HakomDatabaseLog.Net.Api.Persistence.IHakomDatabaseLogStore> Create(string repositoryName, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));

repositoryName System.String

The name of the repository which the IHakomDatabaseLogStore will be created for.

cancellationToken System.Threading.CancellationToken

A token that may be used to cancel the operation.

System.Threading.Tasks.Task<IHakomDatabaseLogStore>
A System.Threading.Tasks.Task<> of the created IHakomDatabaseLogStore.

IHakomDatabaseLogStoreFactory.TryCreate(string, CancellationToken) Method

Section titled “IHakomDatabaseLogStoreFactory.TryCreate(string, CancellationToken) Method”

Tries to create an instance of IHakomDatabaseLogStore for the specified repositoryName.

System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.Logging.HakomDatabaseLog.Net.Api.Persistence.IHakomDatabaseLogStore>> TryCreate(string repositoryName, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));

repositoryName System.String

The name of the repository which the IHakomDatabaseLogStore will be created for.

cancellationToken System.Threading.CancellationToken

A token that may be used to cancel the operation.

System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<IHakomDatabaseLogStore>>
A Result<TValue> containing a new IHakomDatabaseLogStore instance.

The Result will provide additional information about success or failure.

© 2026 Volue.Version v0.6.38017 November 2026