RecyclableMemoryStreamManager.StreamDisposedEventArgs class

December 6, 2023 · View on GitHub

Arguments for the StreamDisposed event.

public sealed class StreamDisposedEventArgs : EventArgs
parameterdescription
guidUnique ID of the stream.
tagTag of the stream.
lifetimeLifetime of the stream
allocationStackStack of original allocation.
disposeStackDispose stack.

Public Members

namedescription
StreamDisposedEventArgs(…)Arguments for the StreamDisposed event.
AllocationStack { get; }Stack where the stream was allocated.
DisposeStack { get; }Stack where stream was disposed.
Id { get; }Unique ID for the stream.
Lifetime { get; }Lifetime of the stream.
Tag { get; }Optional Tag for the event.

Remarks

Initializes a new instance of the StreamDisposedEventArgs class.

See Also