ContextDataSourceView.DisposeContext Method

Definition

Disposes the context after an operation is performed.

Overloads

DisposeContext()

Disposes the context after an operation is performed.

DisposeContext(Object)

Disposes the specified data context after an operation is performed.

DisposeContext()

Disposes the context after an operation is performed.

C#
protected void DisposeContext();

Applies to

.NET Framework 4.8.1 i druge verzije
Proizvod Verzije
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

DisposeContext(Object)

Disposes the specified data context after an operation is performed.

C#
protected virtual void DisposeContext(object dataContext);

Parameters

dataContext
Object

The data context to dispose.

Applies to

.NET Framework 4.8.1 i druge verzije
Proizvod Verzije
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1