MsmqMessageSerializationFormat Enum

Definition

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

C#
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

Produkt Versioner
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1