Redigera

Dela via


MsmqMessageProperty.Get(Message) Method

Definition

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

Parameters

message
Message

The Message whose properties are to be retrieved.

Returns

The MsmqMessageProperty for the specified Message.

Exceptions

The value is null or if property collection on the message is null.

Applies to