RecyclableMemoryStreamManager.Events.MemoryStreamDisposed method

December 6, 2023 · View on GitHub

Logged when the stream is disposed.

public void MemoryStreamDisposed(Guid guid, string? tag, long lifetimeMs, string? allocationStack, 
    string? disposeStack)
parameterdescription
guidA unique ID for this stream.
tagA temporary ID for this stream, usually indicates current usage.
lifetimeMsLifetime in milliseconds of the stream
allocationStackCall stack of initial allocation.
disposeStackCall stack of the dispose.

See Also