Show / Hide Table of Contents

Class NpgsqlOperationInProgressException

Thrown when trying to use a connection that is already busy performing some other operation. Provides information on the already-executing operation to help with debugging.

Inheritance
System.Object
NpgsqlOperationInProgressException
Namespace: Npgsql
Assembly: Npgsql.dll
Syntax
public sealed class NpgsqlOperationInProgressException : InvalidOperationException

Properties

CommandInProgress

If the connection is busy with another command, this will contain a reference to that command. Otherwise, if the connection if busy with another type of operation (e.g. COPY), contains null.

Declaration
public NpgsqlCommand CommandInProgress { get; }
Property Value
Type Description
NpgsqlCommand
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX