Rediger

Del via


RemotingTimeoutException Constructors

Definition

Initializes a new instance of the RemotingTimeoutException class.

Overloads

RemotingTimeoutException()

Initializes a new instance of the RemotingTimeoutException class with default properties.

RemotingTimeoutException(String)

Initializes a new instance of RemotingTimeoutException class with a specified message.

RemotingTimeoutException(String, Exception)

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

RemotingTimeoutException()

Initializes a new instance of the RemotingTimeoutException class with default properties.

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

Remarks

RemotingTimeoutException inherits from the Exception class. The following table shows initial property values for an instance of the RemotingTimeoutException class:

Property Value
InnerException null
Message Localized error message for RemotingTimeoutException

Applies to

RemotingTimeoutException(String)

Initializes a new instance of RemotingTimeoutException class with a specified message.

public:
 RemotingTimeoutException(System::String ^ message);
public RemotingTimeoutException (string message);
new System.Runtime.Remoting.RemotingTimeoutException : string -> System.Runtime.Remoting.RemotingTimeoutException
Public Sub New (message As String)

Parameters

message
String

The message that indicates the reason why the exception occurred.

Remarks

RemotingTimeoutException inherits from the Exception class. The following table shows initial property values for an instance of the RemotingTimeoutException class:

Property Type Condition
InnerException null
Message The message string

Applies to

RemotingTimeoutException(String, Exception)

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

public:
 RemotingTimeoutException(System::String ^ message, Exception ^ InnerException);
public RemotingTimeoutException (string message, Exception InnerException);
new System.Runtime.Remoting.RemotingTimeoutException : string * Exception -> System.Runtime.Remoting.RemotingTimeoutException
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. If the InnerException parameter is not null, the current exception is raised in a catch block that handles the inner exception.

Remarks

An exception that is thrown as a direct result of a previous exception must include a reference to the previous exception in the InnerException property. The InnerException property returns the same value that is passed into the constructor, or null if the InnerException property does not supply the inner exception value to the constructor.

The following table shows initial property values for an instance of the RemotingTimeoutException class:

Property Value
InnerException The inner exception reference
Message The error message string

See also

Applies to