Post­Sharp Documentation / 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: 5.0.38.0 (5.0.38.0)
Syntax
C#
public bool ThrowObjectDisposedException { get; set; }

Property Value

Type: Boolean
See Also