public QueueItemPriority ReceiveHandlePriority
{
get
{
if (Options.ContainsKey("ReceiveHandlePriority"))
return (QueueItemPriority)Enum.Parse(typeof(QueueItemPriority), "ReceiveHandlePriority");
else
return QueueItemPriority.Normal;
}
set
{
Options["ReceiveHandlePriority"] = Enum.GetName(typeof(QueueItemPriority), value);
}
}
I think the above code may be need replace with the below code.
==============
public QueueItemPriority ReceiveHandlePriority
{
get
{
if (Options.ContainsKey("ReceiveHandlePriority"))
return (QueueItemPriority)Enum.Parse(typeof(QueueItemPriority), <strong>Options["ReceiveHandlePriority"]</strong>);
else
return QueueItemPriority.Normal;
}
set
{
Options["ReceiveHandlePriority"] = Enum.GetName(typeof(QueueItemPriority), value);
}
}
Best regards
-
This topic was modified 10 years, 4 months ago by .
-
This topic was modified 10 years, 4 months ago by .