ISerializationSurrogate 인터페이스

정의

주의

Formatter-based serialization is obsolete and should not be used.

serialization 서로게이트 선택기를 구현하면 한 개체가 다른 개체의 serialization 및 deserialization을 수행할 수 있습니다.

public interface class ISerializationSurrogate
public interface ISerializationSurrogate
[System.Obsolete("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public interface ISerializationSurrogate
[System.Runtime.InteropServices.ComVisible(true)]
public interface ISerializationSurrogate
type ISerializationSurrogate = interface
[<System.Obsolete("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type ISerializationSurrogate = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
type ISerializationSurrogate = interface
Public Interface ISerializationSurrogate
특성

메서드

GetObjectData(Object, SerializationInfo, StreamingContext)
사용되지 않음.

개체를 serialize하는 데 필요한 데이터로 제공된 SerializationInfo를 채웁니다.

SetObjectData(Object, SerializationInfo, StreamingContext, ISurrogateSelector)
사용되지 않음.

SerializationInfo의 정보를 사용하여 개체를 채웁니다.

적용 대상