Interface IResolver
Answers a question.
Namespace: Makaretu.Dns
Assembly: Makaretu.Dns.dll
Syntax
public interface IResolver
Methods
| Improve this Doc View SourceResolveAsync(Message, CancellationToken)
Get an answer to a question.
Declaration
Task<Message> ResolveAsync(Message request, CancellationToken cancel = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
Message | request | |
CancellationToken | cancel | Is used to stop the task. When cancelled, the TaskCanceledException is raised. |
Returns
Type | Description |
---|---|
Task<Message> | A task that represents the asynchronous operation. The task's value is
the Message response to the |