a guest Dec 15th, 2018 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- public async Task ProcessQueueMessageAsync([ServiceBusTrigger("testqueue")] Message message, CancellationToken cancellationToken, ILogger logWriter)
- logWriter.LogError("GOT MESSAGE");
- while (!cancellationToken.IsCancellationRequested)
- await Task.Delay(2000);
- logWriter.LogError("Not Cancelled");
RAW Paste Data