public static IAsyncResult BeginGetOutboundMessageDump(this PostmarkClient client, string messageID)
 {
     return(client.GetOutboundMessageDumpAsync(messageID));
 }
 public static MessageDump GetOutboundMessageDump(this PostmarkClient client, string messageID)
 {
     return(Task.Run(async() => await client.GetOutboundMessageDumpAsync(messageID)).Result);
 }
Ejemplo n.º 3
0
 public static MessageDump GetOutboundMessageDump(this PostmarkClient client, string messageID)
 {
     return(client.GetOutboundMessageDumpAsync(messageID).WaitForResult());
 }