System.Messaging Reference (Document! X Sample)



System.Messaging Namespace > MessagePropertyFilter Class : DestinationSymmetricKey Property
DestinationSymmetricKey Property (MessagePropertyFilter)
Gets or sets a value that indicates whether to retrieve DestinationSymmetricKey property information when receiving or peeking a message.
Syntax
'Declaration
 
<DefaultValueAttribute()>
<MessagingDescriptionAttribute("Specifies the symmetric key used to encrypt messages. Is required when you send application-encrypted messages.")>
Public Property DestinationSymmetricKey As Boolean
'Usage
 
Dim instance As MessagePropertyFilter
Dim value As Boolean
 
instance.DestinationSymmetricKey = value
 
value = instance.DestinationSymmetricKey
[DefaultValue()]
[MessagingDescription("Specifies the symmetric key used to encrypt messages. Is required when you send application-encrypted messages.")]
public bool DestinationSymmetricKey {get; set;}
[DefaultValue()]
[MessagingDescription("Specifies the symmetric key used to encrypt messages. Is required when you send application-encrypted messages.")]
public:
property bool DestinationSymmetricKey {
   bool get();
   void set (    bool value);
}

Property Value

true to receive DestinationSymmetricKey information; otherwise, false. The default is false.
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