PostSharp4.3//API Reference/Post­Sharp.​Patterns.​Recording Namespace/Recording­Scope Class/Recording­Scope Methods/Recording­Scope.​Dispose Method
RecordingScope.Dispose Method
Closes the current RecordingScope.

Namespace: PostSharp.Patterns.Recording
Assembly: PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
public void Dispose()

Implements

IDisposable.Dispose()
Remarks

If the current RecordingScope is atomic, invoking Dispose() without Complete() will undo all changes done in the current scope. In other words, Dispose() without Complete() has rollback semantics.

See Also