Interface IRefreshableEntity
This interface provides method to fetch values of the properties of the entity that implements the interface.
Namespace: Unity.Cloud.Storage
Syntax
public interface IRefreshableEntity
Methods
RefreshPropertiesAsync(CancellationToken)
Asynchronously requests to fetch values of properties of the entity.
Declaration
Task RefreshPropertiesAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | cancellationToken | An optional cancellation token. |
Returns
Type | Description |
---|---|
Task | A task with no result. |
Examples
Exceptions
Type | Condition |
---|---|
HttpRequestException | Thrown when the request fails to complete. See the returned StatusCode for more details. |
UnauthorizedException | |
ConnectionException | |
ForbiddenException |