DataConnectionOpenCanceledException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DataConnectionOpenCanceledException() |
Initializes a new instance of the DataConnectionOpenCanceledException class. |
DataConnectionOpenCanceledException(String) |
Initializes a new instance of the DataConnectionOpenCanceledException class with the specified error message. |
DataConnectionOpenCanceledException(SerializationInfo, StreamingContext) |
Obsolete.
Initializes a new instance of the DataConnectionOpenCanceledException class with serialized data. |
DataConnectionOpenCanceledException(String, Exception) |
Initializes a new instance of the DataConnectionOpenCanceledException class with the specified error message and the inner exception. |
DataConnectionOpenCanceledException()
Initializes a new instance of the DataConnectionOpenCanceledException class.
public:
DataConnectionOpenCanceledException();
public DataConnectionOpenCanceledException ();
Public Sub New ()
Applies to
DataConnectionOpenCanceledException(String)
Initializes a new instance of the DataConnectionOpenCanceledException class with the specified error message.
public:
DataConnectionOpenCanceledException(System::String ^ message);
public DataConnectionOpenCanceledException (string message);
new Microsoft.VisualStudio.Data.Services.DataConnectionOpenCanceledException : string -> Microsoft.VisualStudio.Data.Services.DataConnectionOpenCanceledException
Public Sub New (message As String)
Parameters
- message
- String
The error message that explains the reason for the exception.
Applies to
DataConnectionOpenCanceledException(SerializationInfo, StreamingContext)
Caution
This API is now deprecated.
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);
[System.Obsolete]
protected DataConnectionOpenCanceledException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.Data.Services.DataConnectionOpenCanceledException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.Data.Services.DataConnectionOpenCanceledException
[<System.Obsolete>]
new Microsoft.VisualStudio.Data.Services.DataConnectionOpenCanceledException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.Data.Services.DataConnectionOpenCanceledException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The SerializationInfo that holds the serialized object data about the exception being thrown.
- context
- StreamingContext
The StreamingContext that contains contextual information about the source or destination.
- Attributes
Applies to
DataConnectionOpenCanceledException(String, Exception)
Initializes a new instance of the DataConnectionOpenCanceledException class with the specified error message and the inner exception.
public:
DataConnectionOpenCanceledException(System::String ^ message, Exception ^ innerException);
public DataConnectionOpenCanceledException (string message, Exception innerException);
new Microsoft.VisualStudio.Data.Services.DataConnectionOpenCanceledException : string * Exception -> Microsoft.VisualStudio.Data.Services.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, or null if no inner exception is specified.