Share via


HttpRequestExceptionWithStatus Constructor (String, Exception)

Initializes a new instance of the HttpRequestExceptionWithStatus class with a specific message that describes the current exception and an inner exception.

Namespace: Microsoft.WindowsAzure.Common.TransientFaultHandling
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)

Usage

'Usage
Dim message As String
Dim inner As Exception

Dim instance As New HttpRequestExceptionWithStatus(message, inner)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    inner As Exception _
)
public HttpRequestExceptionWithStatus (
    string message,
    Exception inner
)
public:
HttpRequestExceptionWithStatus (
    String^ message, 
    Exception^ inner
)
public HttpRequestExceptionWithStatus (
    String message, 
    Exception inner
)
public function HttpRequestExceptionWithStatus (
    message : String, 
    inner : Exception
)

Parameters

  • message
    A message that describes the current exception.
  • inner
    The inner exception.

Remarks

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

HttpRequestExceptionWithStatus Class
HttpRequestExceptionWithStatus Members
Microsoft.WindowsAzure.Common.TransientFaultHandling Namespace