共用方式為


ServiceRemotingDataContractSerializationProvider.CreateRemotingRequestMessageBodyDataContractSerializer 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
Type

Remoting RequestMessageBody Type

knownTypes
IEnumerable<Type>

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

Returns

DataContractSerializerSettings for serializing and de-serializing request message body.

Applies to