AssertionsSession represents an assertions session started by a call to BeginAssertions()()()().

By disposing an AssertionsSession instance the memory assertions session will be ended.

Namespace:  SciTech.NetMemProfiler
Assembly:  MemProfiler2 (in MemProfiler2.dll)

Syntax

C#
public struct AssertionsSession : IDisposable
Visual Basic
Public Structure AssertionsSession _
	Implements IDisposable
Visual C++
public value class AssertionsSession : IDisposable

See Also