ConnectorType Property (Message)
Gets or sets a value that indicates that some message properties typically set by Message Queuing were set by the sending application.
Syntax
'Declaration <ReadOnlyAttribute(True)> <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> <MessagingDescriptionAttribute("Whenever a message is passed by a connector application, the connector type is required so that the sending and receiving applications know how to interpret the security and acknowledgment properties of the messages. When sending application-encrypted messages, this property tells the MSMQ runtime to use the symmetric key.")> Public Property ConnectorType As Guid
'Usage Dim instance As Message Dim value As Guid instance.ConnectorType = value value = instance.ConnectorType
[ReadOnly(true)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [MessagingDescription("Whenever a message is passed by a connector application, the connector type is required so that the sending and receiving applications know how to interpret the security and acknowledgment properties of the messages. When sending application-encrypted messages, this property tells the MSMQ runtime to use the symmetric key.")] public Guid ConnectorType {get; set;}
[ReadOnly(true)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [MessagingDescription("Whenever a message is passed by a connector application, the connector type is required so that the sending and receiving applications know how to interpret the security and acknowledgment properties of the messages. When sending application-encrypted messages, this property tells the MSMQ runtime to use the symmetric key.")] public: property Guid ConnectorType { Guid get(); void set ( Guid value); }
Property Value
A System.Guid defined by the application and used in conjunction with connector applications or message encryption. This System.Guid allows a receiving application to interpret message properties that were set by the sending application but that are usually set by Message Queuing.Exceptions
Exception | Description |
---|---|
System.InvalidOperationException | The message queue is filtered to ignore the ConnectorType property. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also