RetryException Constructors

Definition

Initializes a new instance of the RetryException class.

Overloads

RetryException()

Initializes a new instance of the RetryException class.

RetryException(String)

Initializes a new instance of the RetryException class with the specified message.

RetryException(SerializationInfo, StreamingContext)

Initializes a new instance of the RetryException class with the specified SerializationInfo and StreamingContext.

RetryException(String, Exception)

Initializes a new instance of the RetryException class with the specified message and inner exception.

RetryException()

Initializes a new instance of the RetryException class.

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

Applies to

RetryException(String)

Initializes a new instance of the RetryException class with the specified message.

public:
 RetryException(System::String ^ message);
public RetryException (string message);
new System.ServiceModel.Channels.RetryException : string -> System.ServiceModel.Channels.RetryException
Public Sub New (message As String)

Parameters

message
String

The exception message.

Applies to

RetryException(SerializationInfo, StreamingContext)

Initializes a new instance of the RetryException class with the specified SerializationInfo and StreamingContext.

protected:
 RetryException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
[System.Security.SecurityCritical]
protected RetryException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[<System.Security.SecurityCritical>]
new System.ServiceModel.Channels.RetryException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.ServiceModel.Channels.RetryException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The serialization information.

context
StreamingContext

The streaming context.

Attributes

Applies to

RetryException(String, Exception)

Initializes a new instance of the RetryException class with the specified message and inner exception.

public:
 RetryException(System::String ^ message, Exception ^ innerException);
public RetryException (string message, Exception innerException);
new System.ServiceModel.Channels.RetryException : string * Exception -> System.ServiceModel.Channels.RetryException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The exception message.

innerException
Exception

The inner exception.

Applies to