Method OnDisconnectAsync
OnDisconnectAsync()
Handles the disconnection process of a data source.
Declaration
protected virtual Task OnDisconnectAsync()
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task | A task that represents the asynchronous disconnect operation. |
Remarks
Override this method to perform operations that stop the flow of data from an underlying data source.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 200.3 - 200.8 |
| .NET | 200.3 - 200.8 |
| .NET Windows | 200.3 - 200.8 |
| .NET Android | 200.3 - 200.8 |
| .NET iOS | 200.3 - 200.8 |
| .NET Framework | 200.3 - 200.8 |
| UWP | 200.3 - 200.8 |