Method Dispose Dispose() Ends the assertions session represented by the AssertionsSession instance. Declaration public void Dispose() Implements System.IDisposable.Dispose()