Bagikan melalui


DataContractSerializerExtensions.GetSerializationSurrogateProvider Metode

Definisi

Mengembalikan penyedia serialisasi pengganti untuk serializer ini.

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

Parameter

serializer
DataContractSerializer

Serializer yang sedang dikepung.

Mengembalikan

Serializer pengganti.

Berlaku untuk