IJsonRpcMessageBufferManager.DeserializationComplete(JsonRpcMessage) 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.
Notifies that it is safe to free buffers held to deserialize the payload for a message because all deserialization attempts are completed.
public void DeserializationComplete (StreamJsonRpc.Protocol.JsonRpcMessage message);
abstract member DeserializationComplete : StreamJsonRpc.Protocol.JsonRpcMessage -> unit
Public Sub DeserializationComplete (message As JsonRpcMessage)
Parameters
- message
- JsonRpcMessage
The message whose deserialization is done.
Remarks
Implementations are guaranteed to be called at least once for each message when deserialization is completed. This method will be invoked before the next request to ReadAsync(CancellationToken).