DataConnectionOpenCanceledException Class

Provides the exception that is thrown when a method call to open a data connection causes user intervention and the user is able to cancel the open call.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class DataConnectionOpenCanceledException _
    Inherits ApplicationException
'Usage
Dim instance As DataConnectionOpenCanceledException
[SerializableAttribute]
public class DataConnectionOpenCanceledException : ApplicationException
[SerializableAttribute]
public ref class DataConnectionOpenCanceledException : public ApplicationException
public class DataConnectionOpenCanceledException extends ApplicationException

Remarks

This exception maps to the HRESULT 0x80040E4E, which is the same as DB_E_CANCELED in native code.

Inheritance Hierarchy

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.VisualStudio.Data.DataConnectionOpenCanceledException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

DataConnectionOpenCanceledException Members

Microsoft.VisualStudio.Data Namespace

Open

ArgumentException