Skip to content

Various API Renames#15593

Merged
JoshLove-msft merged 3 commits intoAzure:masterfrom
JoshLove-msft:sb-proxy
Oct 1, 2020
Merged

Various API Renames#15593
JoshLove-msft merged 3 commits intoAzure:masterfrom
JoshLove-msft:sb-proxy

Conversation

@JoshLove-msft
Copy link
Member

  • SendVia -> TransactionQueueOrTopicName
  • ViaPartitionKey -> TransactionPartitionKey
  • Proxy -> WebProxy

Make MaxReceiveTime internal within the ProcessorOptions.
Update entity name exception message.

Fixes #14986, #14975, #10646

credential,
options.TransportType,
options.Proxy);
options.WebProxy);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure where this came from, but I question the drift from the naming for the same concept in Event Hubs across the languages.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was based on a comment from Clemens in the Api View.

if (!string.IsNullOrWhiteSpace(message.TransactionPartitionKey))
{
entry[ManagementConstants.Properties.ViaPartitionKey] = message.ViaPartitionKey;
entry[ManagementConstants.Properties.ViaPartitionKey] = message.TransactionPartitionKey;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Should the constant member also be renamed to match?

@JoshLove-msft JoshLove-msft linked an issue Oct 1, 2020 that may be closed by this pull request
@JoshLove-msft JoshLove-msft merged commit 41da6a7 into Azure:master Oct 1, 2020
annelo-msft pushed a commit to annelo-msft/azure-sdk-for-net that referenced this pull request Feb 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename Proxy property to WebProxy Improve exception message for entity name validation

3 participants