TargetUnreachableException Constructor
TargetUnreachableException()
Initializes a new instance of the TargetUnreachableException class.
Declaration
public TargetUnreachableException()
TargetUnreachableException(String)
Initializes a new instance of the TargetUnreachableException class with a specified error message.
Declaration
public TargetUnreachableException(string message)
Parameters
String | message | The message that describes the error. |
TargetUnreachableException(Exception)
Initializes a new instance of the TargetUnreachableException class with a reference to the inner exception that is the cause of this exception.
Declaration
public TargetUnreachableException(Exception innerException)
Parameters
Exception | innerException | The exception that is the cause of the current exception, or a null reference if no inner exception is specified. |
TargetUnreachableException(String, Exception)
Initializes a new instance of the TargetUnreachableException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public TargetUnreachableException(string message, Exception innerException)
Parameters
String | message | The message that describes the error. |
Exception | innerException | The exception that is the cause of the current exception, or a null reference if no inner exception is specified. |
TargetUnreachableException(SerializationInfo, StreamingContext)
Initializes a new instance of the TargetUnreachableException class with serialized data.
Declaration
protected TargetUnreachableException(SerializationInfo info, StreamingContext context)
Parameters
SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |