Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add message batch factory #18146

Merged
merged 2 commits into from
Jan 23, 2021

Conversation

JoshLove-msft
Copy link
Member

Shamelessly copied from #17405
Addresses #16142

@@ -0,0 +1,7 @@
# Baselining these until the next GA as they are not actual compat issues.
CannotRemoveAttribute : Attribute 'System.ComponentModel.EditorBrowsableAttribute' exists on 'Azure.Messaging.ServiceBus.ServiceBusModelFactory.TopicProperties(System.String, System.Int64, System.Boolean, System.TimeSpan, System.TimeSpan, System.TimeSpan, System.Boolean, Azure.Messaging.ServiceBus.Administration.EntityStatus, System.Boolean)' in the contract but not the implementation.
Copy link
Member Author

Choose a reason for hiding this comment

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

These were needed as I removed the EditorBrowsable.Never attribute that was incorrectly added on the factory methods before.
/cc @weshaggard

///
/// <returns>The <see cref="ServiceBusMessageBatch" /> instance that was created.</returns>
///
public static ServiceBusMessageBatch ServiceBusMessageBatch(long batchSizeBytes,
Copy link
Member

Choose a reason for hiding this comment

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

My bad, Josh. It should have occurred to me to port this over when I did the EH version.

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.

2 participants