MsmqMessageProperty.Get(Message) 方法

定义

获取指定的 MsmqMessagePropertyMessage

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

参数

message
Message

将要检索其属性的 Message

返回

指定 MsmqMessagePropertyMessage

例外

该值为 null 或者消息的属性集合为 null。

适用于