本文介绍了如何在远程计算机上创建私人消息队列?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

 

我正在尝试在远程计算机上创建私人消息队列.但是,看来它遇到了安全问题.

I am trying to create a private message queue on a remote computer. However, It seems that it met security problem.

为您提供信息,我已在远程PC中安装了Message Queue.该代码如下所示:

For your information, I have installed Message Queue in the remote PC. The code is something likes below:

string queueid = @"MES-PROD-APP \ private $ \ task1";

string queueid = @"MES-PROD-APP\private$\task1";

queueid = queueid.ToLower();

queueid = queueid.ToLower();

MessageQueue msmq = MessageQueue.Create(queueid);

MessageQueue msmq = MessageQueue.Create(queueid);

可以使用上述代码在本地计算机上创建私人消息队列.

It is OK to create private message queue on local machine with above code.

 

你能给我一些建议吗?

谢谢

Tin

推荐答案

查看 MessageQueue.Create方法文档 :

Look at MessageQueue.Create Method documenatation:

下表显示了此方法在各种工作组模式下是否可用.

The following table shows whether this method is available in various Workgroup modes. 

工作组模式

Workgroup mode

可用

本地计算机

本地计算机和直接格式名称

Local computer and direct format name

远程计算机

远程计算机和直接格式名称

Remote computer and direct format name


这篇关于如何在远程计算机上创建私人消息队列?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-28 22:13
查看更多