Edit

Share via


MsmqIntegrationMessageProperty.Get(Message) Method

Definition

Gets the MsmqIntegrationMessageProperty for a given message.

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

Parameters

message
Message

The message for which the Message Queuing (MSMQ) integration message properties are to be retrieved.

Returns

A MsmqIntegrationMessageProperty object that contains the Message Queuing integration properties for the specified message.

Exceptions

message is null.

-or-

The property collection on the message is null.

Applies to