Share via


DataConnectionOpenCanceledException Constructors

Definition

Overloads

DataConnectionOpenCanceledException()

Class constructor. Initializes a new instance of the DataConnectionOpenCanceledException class.

DataConnectionOpenCanceledException(String)

Class constructor. Initializes a new instance of the DataConnectionOpenCanceledException class with a specified error message.

DataConnectionOpenCanceledException(SerializationInfo, StreamingContext)

Class constructor. Initializes a new instance of the DataConnectionOpenCanceledException class with serialized data.

DataConnectionOpenCanceledException(String, Exception)

Class constructor. Initializes a new instance of the DataConnectionOpenCanceledException class with a specified error message and a reference to the inner exception that is the cause of this exception.

DataConnectionOpenCanceledException()

Class constructor. Initializes a new instance of the DataConnectionOpenCanceledException class.

public:
 DataConnectionOpenCanceledException();
public DataConnectionOpenCanceledException ();
Public Sub New ()

Applies to

DataConnectionOpenCanceledException(String)

Class constructor. Initializes a new instance of the DataConnectionOpenCanceledException class with a specified error message.

public:
 DataConnectionOpenCanceledException(System::String ^ message);
public DataConnectionOpenCanceledException (string message);
new Microsoft.VisualStudio.Data.DataConnectionOpenCanceledException : string -> Microsoft.VisualStudio.Data.DataConnectionOpenCanceledException
Public Sub New (message As String)

Parameters

message
String

A message that describes the error.

Applies to

DataConnectionOpenCanceledException(SerializationInfo, StreamingContext)

Class constructor. Initializes a new instance of the DataConnectionOpenCanceledException class with serialized data.

protected:
 DataConnectionOpenCanceledException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected DataConnectionOpenCanceledException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.Data.DataConnectionOpenCanceledException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.Data.DataConnectionOpenCanceledException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The object that holds the serialized object data.

context
StreamingContext

The contextual information about the source or destination.

Applies to

DataConnectionOpenCanceledException(String, Exception)

Class constructor. Initializes a new instance of the DataConnectionOpenCanceledException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public:
 DataConnectionOpenCanceledException(System::String ^ message, Exception ^ innerException);
public DataConnectionOpenCanceledException (string message, Exception innerException);
new Microsoft.VisualStudio.Data.DataConnectionOpenCanceledException : string * Exception -> Microsoft.VisualStudio.Data.DataConnectionOpenCanceledException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The error message that explains the reason for the exception.

innerException
Exception

The exception that is the cause of the current exception.

Applies to