다음을 통해 공유


DataContractSerializerExtensions.GetSerializationSurrogateProvider 메서드

정의

이 직렬 변환기의 서로게이트 serialization 공급자를 반환합니다.

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

매개 변수

serializer
DataContractSerializer

대신 사용되는 직렬 변환기입니다.

반환

서로게이트 직렬 변환기입니다.

적용 대상