HttpClientException Constructor (String, Exception)
.NET Framework 4.5
Initializes a new instance of the HttpClientException class.
Namespace: Microsoft.AspNet.SignalR.Client
Assembly: Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
ex As Exception _
)
'Usage
Dim message As String
Dim ex As Exception
Dim instance As New HttpClientException(message, _
ex)
public HttpClientException(
string message,
Exception ex
)
public:
HttpClientException(
String^ message,
Exception^ ex
)
new :
message:string *
ex:Exception -> HttpClientException
public function HttpClientException(
message : String,
ex : Exception
)
Parameters
- message
Type: System.String
The error message.
- ex
Type: System.Exception
The exception.