MsmqMessageSerializationFormat 列舉

定義

指示用於序列化物件的格式器,這些物件會當做 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
繼承
MsmqMessageSerializationFormat

欄位

ActiveX 2

用來序列化物件的 ActiveX 格式器。The ActiveX formatter is used to serialize the object.

Binary 1

用來序列化物件的 BinaryFormatterThe BinaryFormatter is used to serialize the object.

ByteArray 3

將物件序列化為位元組陣列。Serializes the object to an array of bytes.

Stream 4

將物件序列化為資料流。Serializes the object to a stream.

Xml 0

用來序列化物件的 XmlSerializerXmlSerializer is used to serialize the object.

備註

預設值為 Xml。The default value is Xml.

適用於