ConnectorInvalidException 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.
Initializes a new instance of the ConnectorInvalidException class.
Overloads
ConnectorInvalidException() |
Initializes a new instance of the ConnectorInvalidException class. |
ConnectorInvalidException(Exception) |
Initializes a new instance of the ConnectorInvalidException class by specifying an inner exception that caused the current exception. |
ConnectorInvalidException(String) |
Initializes a new instance of the ConnectorInvalidException class by specifying the error message that describes the current exception. |
ConnectorInvalidException(SerializationInfo, StreamingContext) |
Initializes a new instance of the ConnectorInvalidException class with serialized data. |
ConnectorInvalidException(String, Exception) |
Initializes a new instance of the ConnectorInvalidException class with an error message and inner exception. |
ConnectorInvalidException()
Initializes a new instance of the ConnectorInvalidException class.
public:
ConnectorInvalidException();
public ConnectorInvalidException ();
Public Sub New ()
Applies to
ConnectorInvalidException(Exception)
Initializes a new instance of the ConnectorInvalidException class by specifying an inner exception that caused the current exception.
public:
ConnectorInvalidException(Exception ^ innerException);
public ConnectorInvalidException (Exception innerException);
new Microsoft.EnterpriseManagement.Common.ConnectorInvalidException : Exception -> Microsoft.EnterpriseManagement.Common.ConnectorInvalidException
Public Sub New (innerException As Exception)
Parameters
- innerException
- Exception
The Exception
instance that caused the current exception.
Applies to
ConnectorInvalidException(String)
Initializes a new instance of the ConnectorInvalidException class by specifying the error message that describes the current exception.
public:
ConnectorInvalidException(System::String ^ message);
public ConnectorInvalidException (string message);
new Microsoft.EnterpriseManagement.Common.ConnectorInvalidException : string -> Microsoft.EnterpriseManagement.Common.ConnectorInvalidException
Public Sub New (message As String)
Parameters
- message
- String
The error message that describes the current exception.
Applies to
ConnectorInvalidException(SerializationInfo, StreamingContext)
Initializes a new instance of the ConnectorInvalidException class with serialized data.
protected:
ConnectorInvalidException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ConnectorInvalidException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.EnterpriseManagement.Common.ConnectorInvalidException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.EnterpriseManagement.Common.ConnectorInvalidException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The SerializationInfo
object that holds the serialized object data about the exception being thrown.
- context
- StreamingContext
The StreamingContext
object that contains contextual information about the source or destination.
Applies to
ConnectorInvalidException(String, Exception)
Initializes a new instance of the ConnectorInvalidException class with an error message and inner exception.
public:
ConnectorInvalidException(System::String ^ message, Exception ^ innerException);
public ConnectorInvalidException (string message, Exception innerException);
new Microsoft.EnterpriseManagement.Common.ConnectorInvalidException : string * Exception -> Microsoft.EnterpriseManagement.Common.ConnectorInvalidException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The error message that describes the current exception.
- innerException
- Exception
The Exception
instance that caused the current exception.