Class AsyncDisposableOptions
- Namespace
- Cuemon.IO
- Assembly
- Cuemon.IO.dll
Configuration options for IDisposable.
public class AsyncDisposableOptions : AsyncOptions, IAsyncOptions, IParameterObject
- Inheritance
-
AsyncDisposableOptions
- Implements
- Derived
- Inherited Members
Constructors
AsyncDisposableOptions()
Initializes a new instance of the AsyncDisposableOptions class.
public AsyncDisposableOptions()
Remarks
The following table shows the initial property values for an instance of AsyncDisposableOptions.
Property | Initial Value |
---|---|
LeaveOpen | false |
Properties
LeaveOpen
Gets or sets a value indicating whether a disposable object should bypass the mechanism for releasing unmanaged resources. Default is false
.
public bool LeaveOpen { get; set; }
Property Value
- Boolean
true
if a disposable object should bypass the mechanism for releasing unmanaged resources; otherwise,false
.