Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Message.ConnectorType Property


Gets or sets a value that indicates that some message properties typically set by Message Queuing were set by the sending application.

Namespace:   System.Messaging
Assembly:  System.Messaging (in System.Messaging.dll)

public Guid ConnectorType { get; set; }

Property Value

Type: System.Guid

A Guid defined by the application and used in conjunction with connector applications or message encryption. This Guid allows a receiving application to interpret message properties that were set by the sending application but that are usually set by Message Queuing.

Exception Condition

The message queue is filtered to ignore the ConnectorType property.

Message Queuing requires the ConnectorType property be set whenever an application sets a message property that is usually set by Message Queuing. An application typically uses a ConnectorType in the following two cases:

  • Whenever a connector application passes a message. The ConnectorType tells the sending and receiving applications how to interpret the security and acknowledgment properties of the message.

  • Whenever the sending application, rather than Message Queuing, encrypts a message. The ConnectorType tells Message Queuing to use the DestinationSymmetricKey property value to decrypt the message.

You must set the ConnectorType property if you set any of the following properties (otherwise, the queue ignores these properties when the message is sent):

.NET Framework
Available since 1.1
Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft