MsmqIntegrationMessageProperty.Get(Message) 方法

定义

获取给定消息的 MsmqIntegrationMessageProperty

public:
 static System::ServiceModel::MsmqIntegration::MsmqIntegrationMessageProperty ^ Get(System::ServiceModel::Channels::Message ^ message);
public static System.ServiceModel.MsmqIntegration.MsmqIntegrationMessageProperty Get (System.ServiceModel.Channels.Message message);
static member Get : System.ServiceModel.Channels.Message -> System.ServiceModel.MsmqIntegration.MsmqIntegrationMessageProperty
Public Shared Function Get (message As Message) As MsmqIntegrationMessageProperty

参数

message
Message

要检索其消息队列 (MSMQ) 集成消息属性的消息。

返回

MsmqIntegrationMessageProperty

一个包含指定消息的消息队列集成属性的 MsmqIntegrationMessageProperty 对象。

例外

messagenull

  • 或 -

消息上的属性集合为 null

适用于