Interface IExceptionsRepository
A repository for managing exceptions data.
Namespace: Sartorius.SAF.ExceptionHandling
Assembly: Sartorius.SAF.dll
Syntax
public interface IExceptionsRepository
Methods
View SourceDelete(String)
Delete a given file.
Declaration
void Delete(string fullFileName)
Parameters
Type | Name | Description |
---|---|---|
System. |
fullFileName | A file to delete. |
Exceptions
Type | Condition |
---|---|
System. |
If parameter fullFileName is null. |
HasAnyErrors()
Gets a value that indicates whether any unhandled error-protocol available.
Declaration
bool HasAnyErrors()
Returns
Type | Description |
---|---|
System. |
True if any unhandled error-protocol available available, otherwise False. |
ReadAllAsync()
Read all exceptions.
Declaration
Task<IEnumerable<ExceptionEntity>> ReadAllAsync()
Returns
Type | Description |
---|---|
System. |
An enumerable of all existing Exception |
SaveAsync(Exception)
Save the given exception.
Declaration
Task SaveAsync(Exception ex)
Parameters
Type | Name | Description |
---|---|---|
System. |
ex | A exception to save. |
Returns
Type | Description |
---|---|
System. |
A System. |