RecyclableMemoryStreamManager.Events.MemoryStreamToArray method

December 6, 2023 · View on GitHub

Logged when ToArray is called on a stream.

public void MemoryStreamToArray(Guid guid, string? tag, string? stack, long size)
parameterdescription
guidA unique ID for this stream.
tagA temporary ID for this stream, usually indicates current usage.
stackCall stack of the ToArray call.
sizeLength of stream.

Remarks

Note: Stacks will only be populated if RecyclableMemoryStreamManager.GenerateCallStacks is true.

See Also