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

Label is not working as expected #2

Open
LeifPetter opened this issue Apr 29, 2020 · 0 comments
Open

Label is not working as expected #2

LeifPetter opened this issue Apr 29, 2020 · 0 comments
Assignees

Comments

@LeifPetter
Copy link

Hi

Thanks for nice code, this will be very useful for me.
When I update “Label”, this is not reflected in the que.

Here is my sample code

MessageQueue messageQueue = null;
if (MessageQueue.Exists(@".\Private$\SomeTestName"))
{
messageQueue = new MessageQueue(@".\Private$\SomeTestName");
messageQueue.Label = "Testing Queue";
}
else
{
// Create the Queue
MessageQueue.Create(@".\Private$\SomeTestName");
messageQueue = new MessageQueue(@".\Private$\SomeTestName");
messageQueue.Label = "Newly Created Queue";
}
messageQueue.Send("First ever Message is sent to MSMQ", "Title");

Is there something I do wrong or is this an bug in the code?

LP

@rkttu rkttu self-assigned this Jul 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants