DefaultPropertiesToSend Property
Gets or sets the message property values to be used by default when the application sends messages to the queue.
Syntax
'Declaration Public Property DefaultPropertiesToSend As DefaultPropertiesToSend
'Usage Dim instance As MessageQueue Dim value As DefaultPropertiesToSend instance.DefaultPropertiesToSend = value value = instance.DefaultPropertiesToSend
public DefaultPropertiesToSend DefaultPropertiesToSend {get; set;}
public: property DefaultPropertiesToSend^ DefaultPropertiesToSend { DefaultPropertiesToSend^ get(); void set ( DefaultPropertiesToSend^ value); }
Property Value
A DefaultPropertiesToSend that contains the default Message Queuing message property values used when the application sends objects other than Message instances to the queue.Exceptions
Exception | Description |
---|---|
System.ArgumentException | The default properties could not be set for the queue, possibly because one of the properties is not valid. |
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