ServiceRemotingDataContractSerializationProvider.CreateRemotingRequestMessageBodyDataContractSerializer(Type, IEnumerable<Type>) Method

Definition

Gets the settings used to create DataContractSerializer for serializing and de-serializing request message body.

protected internal virtual System.Runtime.Serialization.DataContractSerializer CreateRemotingRequestMessageBodyDataContractSerializer (Type remotingRequestType, System.Collections.Generic.IEnumerable<Type> knownTypes);
abstract member CreateRemotingRequestMessageBodyDataContractSerializer : Type * seq<Type> -> System.Runtime.Serialization.DataContractSerializer
override this.CreateRemotingRequestMessageBodyDataContractSerializer : Type * seq<Type> -> System.Runtime.Serialization.DataContractSerializer
Protected Friend Overridable Function CreateRemotingRequestMessageBodyDataContractSerializer (remotingRequestType As Type, knownTypes As IEnumerable(Of Type)) As DataContractSerializer

Parameters

remotingRequestType
System.Type

Remoting RequestMessageBody Type

knownTypes
System.Collections.Generic.IEnumerable<System.Type>

The return types of all of the methods of the specified interface.

Returns

System.Runtime.Serialization.DataContractSerializer

System.Runtime.Serialization.DataContractSerializerSettings for serializing and de-serializing request message body.

Applies to