FormatterBase.TrackDeserialization 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.
Sets up state to track deserialization of a message.
protected StreamJsonRpc.FormatterBase.DeserializationTracking TrackDeserialization(StreamJsonRpc.Protocol.JsonRpcMessage message, ReadOnlySpan<System.Reflection.ParameterInfo> parameters = default);
member this.TrackDeserialization : StreamJsonRpc.Protocol.JsonRpcMessage * ReadOnlySpan<System.Reflection.ParameterInfo> -> StreamJsonRpc.FormatterBase.DeserializationTracking
Protected Function TrackDeserialization (message As JsonRpcMessage, Optional parameters As ReadOnlySpan(Of ParameterInfo) = Nothing) As FormatterBase.DeserializationTracking
Parameters
- message
- JsonRpcMessage
The message being deserialized.
- parameters
- ReadOnlySpan<ParameterInfo>
The signature of the method that will be invoked for the incoming request, if applicable.
Returns
A value to dispose of when deserialization has completed.