Gets or sets a value that indicates whether to make the message private.
Assembly: System.Messaging (in System.Messaging.dll)
The message queue is filtered to ignore the property.
If a message is private, its body is encrypted before it is sent and decrypted when it is received. To send a private message, the sending application must specify that encryption be used and, optionally, the encryption algorithm.
When sending private messages, your application does not need to perform the message encryption. Message Queuing can encrypt the message body for you if your application is sending messages within a Microsoft Windows 2000 enterprise, which has access to the directory service. When receiving private messages, the receiving Queue Manager always decrypts the message body.
The following code example gets and sets the value of a message's property.