Skip to content

Commit

Permalink
fixed cloning by utilizing Service Bus .Clone() instead of custom .Cl…
Browse files Browse the repository at this point in the history
…one() for Streams
  • Loading branch information
christopherlombardiconfluence committed Aug 30, 2018
1 parent 1ed7a50 commit b5dd8ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ServiceBusExplorer/Forms/MessageForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ private async void btnSubmit_Click(object sender, EventArgs e)
// For body type ByteArray cloning is not an option. When cloned, supplied body can be only of a string or stream types, but not byte array :(
outboundMessage = bodyType == BodyType.ByteArray ?
brokeredMessage.CloneWithByteArrayBodyType(txtMessageText.Text) :
brokeredMessage.Clone(txtMessageText.Text);
brokeredMessage.Clone();
}
else
{
Expand Down

0 comments on commit b5dd8ce

Please sign in to comment.