Język

Serialization.ISurrogateProvider.Handles Metoda

Definicja

Sprawdź, czy ten zastępczy dostawca obsługuje ten typ.

public bool Handles(Type type, System.Runtime.Serialization.StreamingContext context, out int priority);
abstract member Handles : Type * System.Runtime.Serialization.StreamingContext * int -> bool
Public Function Handles (type As Type, context As StreamingContext, ByRef priority As Integer) As Boolean

Parametry

type
Type

Typ zapytania.

context
StreamingContext

Kontekst serializacji.

priority
Int32

Priorytet tego dostawcy.

Zwraca

To prawda, jeśli ten dostawca obsługuje ten typ, fałszywe w przeciwnym razie.

Dotyczy