Cómo recuperar un msg de letra de letra muerta
private static async Task GetMessage()
{
string connection =
"Endpoint=sb://theurloftheconnection;SharedAccessKeyName=aKeyName;SharedAccessKey=fdgsdfg=";
string topic = "DavesChat";
string subscription = "TestQueue";
var subPath = EntityNameHelper.FormatSubscriptionPath(topic, subscription);
var deadLetterPath = EntityNameHelper.FormatDeadLetterPath(subPath);
var receiver = new MessageReceiver(connection, deadLetterPath, ReceiveMode.PeekLock);
var message = await receiver.PeekAsync();
}
Upvote answer :-)