PostSharp4.3//API Reference/Post­Sharp.​Patterns.​Model Namespace/Disposable­Attribute Class/Disposable­Attribute Properties/Disposable­Attribute.​Throw­Object­Disposed­Exception Property
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: 4.3.48.0 (4.3.48.0)
Syntax
C#
public bool ThrowObjectDisposedException { get; set; }

Property Value

Type: Boolean
See Also