DataContractSerializerExtensions DataContractSerializerExtensions DataContractSerializerExtensions DataContractSerializerExtensions Class

定義

提供設定和取得 ISerializationSurrogateProvider 的方法,以擴充 DataContractSerializer 類別。Extends the DataContractSerializer class by providing methods for setting and getting an ISerializationSurrogateProvider.

public ref class DataContractSerializerExtensions abstract sealed
public static class DataContractSerializerExtensions
type DataContractSerializerExtensions = class
Public Module DataContractSerializerExtensions
繼承
DataContractSerializerExtensionsDataContractSerializerExtensionsDataContractSerializerExtensionsDataContractSerializerExtensions

方法

GetSerializationSurrogateProvider(DataContractSerializer) GetSerializationSurrogateProvider(DataContractSerializer) GetSerializationSurrogateProvider(DataContractSerializer) GetSerializationSurrogateProvider(DataContractSerializer)

傳回此序列化程式的代理序列化提供者。Returns the surrogate serialization provider for this serializer.

SetSerializationSurrogateProvider(DataContractSerializer, ISerializationSurrogateProvider) SetSerializationSurrogateProvider(DataContractSerializer, ISerializationSurrogateProvider) SetSerializationSurrogateProvider(DataContractSerializer, ISerializationSurrogateProvider) SetSerializationSurrogateProvider(DataContractSerializer, ISerializationSurrogateProvider)

指定此 DataContractSerializer 的代理序列化提供者。Specifies a surrogate serialization provider for this DataContractSerializer.

適用於