[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

The MessageSettingstype exposes the following properties.

Properties

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

  Member Description
BitsUpload
If true, BITS will be used to send the message payload to the MP. Not all Management Point endpoints are compatible with BITS so use care when setting this to true. Not all senders support BITS uploading.
Compression
Get/Set the compression used with this message
CompressionLevel
Get/Set the compression level used for sending compression. This is ignored unless compression is enabled.
DefaultSecurityMode
This setting controls the default security mode for messages. This is static so this will carry across the entire process.

Defaults to mixed mode.

Endpoint
Get/Set MP Endpoint message will be sent to

IMPORTANT: It is highly recommended that this is not set by anything outside of the Messaging library (except for AdhocMessage). All messages should set this appropriately (except for AdhocMessage).

Do not set this unless you know what you're doing!

HostName
Management point hostname that the message will be sent to. This must be set or else message validation will fail.
HttpPort
The HTTP port to use for sending the message if applicable. Not all senders will recognize this property value. For best compatibility, GetCommunicationPort () () () () should be used to get the most appropriate port.
HttpsPort
The HTTPS (TLS/SSL) port to use for sending the message if applicable. Not all senders will recognize this property value. For best compatibility, GetCommunicationPort () () () () should be used to get the most appropriate port.
MessageProperties
Special message properties. This is generally used by messages and should not be set by external code.
OverrideValidityChecks
Gets/sets the ability to override validity checking. If true, messages that have required properties that are null or empty will not fail to send.
PostSendActionsEnabled
If true, and the message supports this, asynchronous post-send task will be run
ReplyCompression
Get/Set the reply compression used with this message
ReplyEndpoint
Endpoint to direct replies to. This setting is only relevant for senders and it is not recommended that this is changed manually unless under very special circumstances.
Security
Security settings for the message
SecurityMode
Get/Set the site security mode. Default value is mixed mode
SenderProperties
Special configuration settings for specific senders. Some messages may require special sender-specific settings that can be set here.
SourceHost
The hostname that the message is sourced from. Defaults to the local machine's NETBIOS name, but can be any value.
Timeout
Get/Set timeout for sending message. Not all senders will honor this timeout value. Default is 60 seconds.

See Also