public static IAsyncResult BeginGetInboundMessageDetail(this PostmarkClient client, string messageID)
 {
     return(client.GetInboundMessageDetailsAsync(messageID));
 }
 public static InboundMessageDetail GetInboundMessageDetail(this PostmarkClient client, string messageID)
 {
     return(Task.Run(async() => await client.GetInboundMessageDetailsAsync(messageID)).Result);
 }
Beispiel #3
0
 public static InboundMessageDetail GetInboundMessageDetail(this PostmarkClient client, string messageID)
 {
     return(client.GetInboundMessageDetailsAsync(messageID).WaitForResult());
 }