編輯

共用方式為


MsmqMessageSerializationFormat Enum

Definition

Indicates the formatter that is used to serialize objects that are sent as the body of an MSMQ message.

public enum class MsmqMessageSerializationFormat
public enum MsmqMessageSerializationFormat
type MsmqMessageSerializationFormat = 
Public Enum MsmqMessageSerializationFormat
Inheritance
MsmqMessageSerializationFormat

Fields

Name Value Description
Xml 0

XmlSerializer is used to serialize the object.

Binary 1

The BinaryFormatter is used to serialize the object.

ActiveX 2

The ActiveX formatter is used to serialize the object.

ByteArray 3

Serializes the object to an array of bytes.

Stream 4

Serializes the object to a stream.

Remarks

The default value is Xml.

Applies to