Partilhar via


ServiceRemotingDataContractSerializationProvider.CreateRemotingResponseMessageBodyDataContractSerializer Método

Definição

Obtém as configurações usadas para criar DataContractSerializer para serializar e desserializar o corpo da mensagem de solicitação.

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

Parâmetros

remotingResponseType
Type

Tipo responseMessage de comunicação remota

knownTypes
IEnumerable<Type>

Os tipos de retorno de todos os métodos da interface especificada.

Retornos

DataContractSerializerSettings para serializar e desserializar o corpo da mensagem de solicitação.

Aplica-se a