Serialization.ISurrogateProvider.Handles Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determine whether this surrogate provider handles this type.
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
Parameters
- type
- Type
The query type.
- context
- StreamingContext
The serialization context.
- priority
- Int32
The priority of this provider.
Returns
True if this provider handles this type, false otherwise.