Share via


HttpRequestExceptionWithStatus Constructor (String)

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

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

Usage

'Usage
Dim message As String

Dim instance As New HttpRequestExceptionWithStatus(message)

Syntax

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

Parameters

  • message
    A message that describes the current 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