PexRetryException 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
PexRetryException() |
Initializes a new instance of the PexRetryException class. |
PexRetryException(String) |
Initializes a new instance of the PexRetryException class. |
PexRetryException(SerializationInfo, StreamingContext) |
Initializes a new instance of the PexRetryException class. |
PexRetryException(String, Exception) |
Initializes a new instance of the PexRetryException class. |
PexRetryException()
Initializes a new instance of the PexRetryException class.
public:
PexRetryException();
public PexRetryException ();
Public Sub New ()
Applies to
PexRetryException(String)
Initializes a new instance of the PexRetryException class.
public:
PexRetryException(System::String ^ message);
public PexRetryException (string message);
new Microsoft.Pex.Framework.Exceptions.PexRetryException : string -> Microsoft.Pex.Framework.Exceptions.PexRetryException
Public Sub New (message As String)
Parameters
- message
- String
The message.
Applies to
PexRetryException(SerializationInfo, StreamingContext)
Initializes a new instance of the PexRetryException class.
protected:
PexRetryException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected PexRetryException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Pex.Framework.Exceptions.PexRetryException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Pex.Framework.Exceptions.PexRetryException
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.
Exceptions
The info
parameter is null.
The class name is null or HResult is zero (0).
Applies to
PexRetryException(String, Exception)
Initializes a new instance of the PexRetryException class.
public:
PexRetryException(System::String ^ message, Exception ^ inner);
public PexRetryException (string message, Exception inner);
new Microsoft.Pex.Framework.Exceptions.PexRetryException : string * Exception -> Microsoft.Pex.Framework.Exceptions.PexRetryException
Public Sub New (message As String, inner As Exception)
Parameters
- message
- String
The message.
- inner
- Exception
The inner.