MsmqMessageProperty.Get(Message) 方法
定义
获取指定的 MsmqMessageProperty 的 Message。Gets the MsmqMessageProperty for the specified Message.
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
参数
返回
指定 MsmqMessageProperty 的 Message。The MsmqMessageProperty for the specified Message.
例外
该值为 null 或者消息的属性集合为 null。The value is null or if property collection on the message is null.