public static IAsyncResult BeginGetBounceDump(this PostmarkClient client, string bounceId)
 {
     return(client.GetBounceDumpAsync(int.Parse(bounceId)));
 }
 public static PostmarkBounceDump GetBounceDump(this PostmarkClient client, string bounceId)
 {
     return(Task.Run(async() => await client.GetBounceDumpAsync(int.Parse(bounceId))).Result);
 }
示例#3
0
 public static PostmarkBounceDump GetBounceDump(this PostmarkClient client, string bounceId)
 {
     return(client.GetBounceDumpAsync(int.Parse(bounceId)).WaitForResult());
 }