共用方式為


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 物件,其中包含指定之訊息的訊息佇列整合屬性。

例外狀況

messagenull

-或-

訊息上的屬性集合為 null

適用於