MsmqIntegrationMessageProperty.Get Method (Message)

 

Gets the MsmqIntegrationMessageProperty for a given message.

Namespace:   System.ServiceModel.MsmqIntegration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public static MsmqIntegrationMessageProperty Get(
	Message message
)

Parameters

message
Type: System.ServiceModel.Channels.Message

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

Return Value

Type: System.ServiceModel.MsmqIntegration.MsmqIntegrationMessageProperty

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

Exception Condition
ArgumentNullException

The message is null.

ArgumentNullException

The property collection on the message is null.

.NET Framework
Available since 3.0
Return to top
Show: