MsmqMessageSerializationFormat MsmqMessageSerializationFormat MsmqMessageSerializationFormat MsmqMessageSerializationFormat Enum

定义

指示用于序列化作为 MSMQ 消息正文发送的对象的格式化程序。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
继承
MsmqMessageSerializationFormatMsmqMessageSerializationFormatMsmqMessageSerializationFormatMsmqMessageSerializationFormat

字段

ActiveX ActiveX ActiveX ActiveX 2

ActiveX 格式化程序用于序列化对象。The ActiveX formatter is used to serialize the object.

Binary Binary Binary Binary 1

BinaryFormatter 用于序列化对象。The BinaryFormatter is used to serialize the object.

ByteArray ByteArray ByteArray ByteArray 3

将对象序列化为字节数组。Serializes the object to an array of bytes.

Stream Stream Stream Stream 4

将对象序列化为流。Serializes the object to a stream.

Xml Xml Xml Xml 0

XmlSerializer 用于序列化对象。XmlSerializer is used to serialize the object.

注解

默认值为 Xml。The default value is Xml.

适用于