Compartilhar via


DataContractSerializerExtensions.GetSerializationSurrogateProvider Método

Definição

Retorna o provedor de serialização alternativo para esse serializador.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Runtime::Serialization::ISerializationSurrogateProvider ^ GetSerializationSurrogateProvider(System::Runtime::Serialization::DataContractSerializer ^ serializer);
public static System.Runtime.Serialization.ISerializationSurrogateProvider GetSerializationSurrogateProvider (this System.Runtime.Serialization.DataContractSerializer serializer);
public static System.Runtime.Serialization.ISerializationSurrogateProvider? GetSerializationSurrogateProvider (this System.Runtime.Serialization.DataContractSerializer serializer);
static member GetSerializationSurrogateProvider : System.Runtime.Serialization.DataContractSerializer -> System.Runtime.Serialization.ISerializationSurrogateProvider
<Extension()>
Public Function GetSerializationSurrogateProvider (serializer As DataContractSerializer) As ISerializationSurrogateProvider

Parâmetros

serializer
DataContractSerializer

O serializador que está sendo substituído.

Retornos

O serializador alternativo.

Aplica-se a