ISerializationSurrogate Arabirim
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Dikkat
Formatter-based serialization is obsolete and should not be used.
Bir nesnenin başka bir nesnenin seri hale getirmesini ve seri durumdan çıkarmasını sağlayan bir serileştirme vekil seçicisi uygular.
public interface class 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
public interface ISerializationSurrogate
[System.Runtime.InteropServices.ComVisible(true)]
public interface ISerializationSurrogate
[<System.Obsolete("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type ISerializationSurrogate = interface
type ISerializationSurrogate = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
type ISerializationSurrogate = interface
Public Interface ISerializationSurrogate
- Öznitelikler
Yöntemler
| Name | Description |
|---|---|
| GetObjectData(Object, SerializationInfo, StreamingContext) |
Geçersiz.
Sağlanan SerializationInfo öğesini, nesneyi seri hale getirmek için gereken verilerle doldurur. |
| SetObjectData(Object, SerializationInfo, StreamingContext, ISurrogateSelector) |
Geçersiz.
içindeki bilgileri SerializationInfokullanarak nesnesini doldurur. |