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 getirilmesini ve seri durumdan çıkarılmasını sağlayan bir serileştirme vekil seçicisi uygular.
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
- Öznitelikler
Yöntemler
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. |
Şunlara uygulanır
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin