Skip to content

Commit

Permalink
[#557] Transaction Support for SendAsync in .NET Core
Browse files Browse the repository at this point in the history
  • Loading branch information
xinchen10 committed Dec 7, 2022
1 parent 5828b7f commit bfaa9be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Net/TaskExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public Task SendAsync(Message message)
public async Task SendAsync(Message message, TimeSpan timeout)
{
DeliveryState txnState = null;
#if NETFX || NETFX40
#if NETFX || NETFX40 || NETSTANDARD2_0

This comment has been minimized.

Copy link
@JinsPeter

JinsPeter Dec 9, 2022

Plz Consider adding NET too so that it works in DotNET Core project as well

This comment has been minimized.

Copy link
@xinchen10

xinchen10 Dec 16, 2022

Author Member

DotNET Core project should pick up the netstandard2.0 target.

txnState = await TaskExtensions.GetTransactionalStateAsync(this).ConfigureAwait(false);
#endif

Expand Down

0 comments on commit bfaa9be

Please sign in to comment.