FormatterServices Sınıf

Tanım

Dikkat

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

Serileştirme için bir Formatter uygulamasına yardımcı olacak statik yöntemler sağlar. Bu sınıf devralınamaz.

public ref class FormatterServices abstract sealed
public ref class FormatterServices sealed
[System.Obsolete("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public static class FormatterServices
public static class FormatterServices
public sealed class FormatterServices
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class FormatterServices
[System.Runtime.InteropServices.ComVisible(true)]
public static class FormatterServices
[<System.Obsolete("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type FormatterServices = class
type FormatterServices = class
[<System.Runtime.InteropServices.ComVisible(true)>]
type FormatterServices = class
Public Class FormatterServices
Public NotInheritable Class FormatterServices
Devralma
FormatterServices
Öznitelikler

Yöntemler

Name Description
CheckTypeSecurity(Type, TypeFilterLevel)
Geçersiz.

belirtilen Type özelliğinin olarak ayarlanmış TypeFilterLeveldurumdan çıkarılıp seri durumdan Low çıkarılamayacağını belirler.

GetObjectData(Object, MemberInfo[])
Geçersiz.

Belirtilen nesneden verileri ayıklar ve bir nesne dizisi olarak döndürür.

GetSafeUninitializedObject(Type)
Geçersiz.

Belirtilen nesne türünün yeni bir örneğini oluşturur.

GetSerializableMembers(Type, StreamingContext)
Geçersiz.

Belirtilen Type ve içinde bir sınıfı için tüm serileştirilebilir üyeleri alır.StreamingContext

GetSerializableMembers(Type)
Geçersiz.

Belirtilen Typesınıfının tüm serileştirilebilir üyelerini alır.

GetSurrogateForCyclicalReference(ISerializationSurrogate)
Geçersiz.

Belirtilen ISerializationSurrogateiçin bir serileştirme vekili döndürür.

GetTypeFromAssembly(Assembly, String)
Geçersiz.

Sağlanan Typeiçinde belirtilen nesnenin öğesini ararAssembly.

GetUninitializedObject(Type)
Geçersiz.

Belirtilen nesne türünün yeni bir örneğini oluşturur.

PopulateObjectMembers(Object, MemberInfo[], Object[])
Geçersiz.

Belirtilen nesneyi, nesnelerin veri dizisinden çekilen her alan için değerlerle doldurur.

Şunlara uygulanır

Ayrıca bkz.