ObjectContext.Dispose Method
Definition
Overloads
Dispose() |
Releases the resources used by the object context. |
Dispose(Boolean) |
Releases the resources used by the object context. |
Dispose()
Releases the resources used by the object context.
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1063:ImplementIDisposableCorrectly")]
public void Dispose ();
abstract member Dispose : unit -> unit
override this.Dispose : unit -> unit
Public Sub Dispose ()
Implements
- Attributes
Dispose(Boolean)
Releases the resources used by the object context.
protected virtual void Dispose (bool disposing);
abstract member Dispose : bool -> unit
override this.Dispose : bool -> unit
Protected Overridable Sub Dispose (disposing As Boolean)
Parameters
- disposing
- Boolean
true
to release both managed and unmanaged resources; false
to release only unmanaged resources.
Applies to
Feedback
Loading feedback...