Interface IInfoClient
Namespace: System.Dynamic.ExpandoObject
Syntax
public interface IInfoClient
Methods
GetInfoAsync(CancellationToken)
Get info
Declaration
Task<CustomerInfo> GetInfoAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<CustomerInfo>
CustomerInfo |
Exceptions
ApiException
A server side error occurred. |
GetStatusAsync(CancellationToken)
Get status
Declaration
Task<SystemStatus> GetStatusAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<SystemStatus>
SystemStatus |
Exceptions
ApiException
A server side error occurred. |
GetVersionAsync(CancellationToken)
Get version
Declaration
Task<VersionInfo> GetVersionAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<VersionInfo>
VersionInfo |
Exceptions
ApiException
A server side error occurred. |