This is the online documentation for PostSharp 5.0.
Download PDF or CHM. Go to v4.3 or v5.0

DisposableAttribute.ThrowObjectDisposedException Property

Determines whether an ObjectDisposedException should be thrown when an attempt is made to access an object that has already been disposed.

Namespace:  PostSharp.Patterns.Model
Assembly:  PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: (
public bool ThrowObjectDisposedException { get; set; }

Property Value

Type: Boolean
See Also