The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
MsmqIntegrationBindingElement::TargetSerializationTypes Property
.NET Framework (current version)
Gets or sets an array of Type objects that contain the types to which messages should be deserialized.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
The body of an MSMQ message is not typed. The TargetSerializationTypes property enables you to specify the types to which messages are deserialized when they are sent from an MSMQ application to a Windows Communication Foundation (WCF) receiving application. This property is used only if MsmqMessageSerializationFormat is set to Xml.
MsmqIntegrationBindingElement msmqBindingElement = new MsmqIntegrationBindingElement(); msmqBindingElement.TargetSerializationTypes = new Type[] { typeof(string) };
.NET Framework
Available since 3.0
Available since 3.0
Show: