Udostępnij przez


Serialization.ISurrogateProvider.Handles Metoda

Definicja

Ustal, czy ten dostawca zastępczy 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

Prawda, jeśli ten dostawca obsługuje ten typ, w przeciwnym razie wartość false.

Dotyczy