DnsClientSendUpdateAsync Method
Send an dynamic update to the dns server and returns the answer as an asynchronous operation.
Namespace: ARSoft.Tools.Net.DnsAssembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
public Task<DnsUpdateMessage?> SendUpdateAsync(
DnsUpdateMessage message,
CancellationToken token = default
)
Public Function SendUpdateAsync (
message As DnsUpdateMessage,
Optional token As CancellationToken = Nothing
) As Task(Of DnsUpdateMessage)
public:
Task<DnsUpdateMessage^>^ SendUpdateAsync(
DnsUpdateMessage^ message,
CancellationToken token = CancellationToken()
)
member SendUpdateAsync :
message : DnsUpdateMessage *
?token : CancellationToken
(* Defaults:
let _token = defaultArg token new CancellationToken()
*)
-> Task<DnsUpdateMessage>
- message DnsUpdateMessage
- Update, that should be send to the dns server
- token CancellationToken (Optional)
- The token to monitor cancellation requests
TaskDnsUpdateMessage The complete response of the dns server